python3Packages.scalib: make portable

Do not build with `target-cpu=native`
This commit is contained in:
d-brasher 2026-06-07 10:46:48 +02:00
commit 729cecc23f

View file

@ -29,6 +29,10 @@ buildPythonPackage (finalAttrs: {
hash = "sha256-DVXb93W0TmOcyGyMN5GmIJNAdbLeeFnNm+3QfTw2j5s=";
};
env = {
SCALIB_PORTABLE = "1";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail '"setuptools-scm-git-archive",' ""