1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

python2: Fix on Darwin

Presumably $out/lib/python*/plat-linux2/ is a Linux-only thing.
This commit is contained in:
Tuomas Tynkkynen 2016-02-03 00:51:08 +02:00 committed by Dan Peebles
parent 0cd08e7e02
commit 78e62da7f1

View file

@ -141,9 +141,9 @@ let
paxmark E $out/bin/python${majorVersion}
${ 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 {