python2: Fix on Darwin
Presumably $out/lib/python*/plat-linux2/ is a Linux-only thing.
This commit is contained in:
parent
0cd08e7e02
commit
78e62da7f1
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user