mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.scalib: make portable
Do not build with `target-cpu=native`
This commit is contained in:
parent
2d6355bcab
commit
729cecc23f
1 changed files with 4 additions and 0 deletions
|
|
@ -29,6 +29,10 @@ buildPythonPackage (finalAttrs: {
|
|||
hash = "sha256-DVXb93W0TmOcyGyMN5GmIJNAdbLeeFnNm+3QfTw2j5s=";
|
||||
};
|
||||
|
||||
env = {
|
||||
SCALIB_PORTABLE = "1";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail '"setuptools-scm-git-archive",' ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue