mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
python2: Fix on Darwin
Presumably $out/lib/python*/plat-linux2/ is a Linux-only thing.
This commit is contained in:
parent
0cd08e7e02
commit
78e62da7f1
@ -143,7 +143,7 @@ let
|
|||||||
|
|
||||||
${optionalString includeModules "$out/bin/python ./setup.py build_ext"}
|
${optionalString includeModules "$out/bin/python ./setup.py build_ext"}
|
||||||
|
|
||||||
rm "$out"/lib/python*/plat-linux2/regen # refers to glibc.dev
|
${optionalString stdenv.isLinux ''rm "$out"/lib/python*/plat-linux2/regen # refers to glibc.dev''}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = rec {
|
passthru = rec {
|
||||||
|
Loading…
Reference in New Issue
Block a user