python2: Fix on non-Linux
The location of this 'regen' script (whatever is does) depends on the platform. AFAICT it always exists due to this: $(srcdir)/Lib/$(PLATDIR): mkdir $(srcdir)/Lib/$(PLATDIR) cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(PLATDIR)/regen
This commit is contained in:
parent
78e62da7f1
commit
34922a3951
@ -143,7 +143,7 @@ let
|
|||||||
|
|
||||||
${optionalString includeModules "$out/bin/python ./setup.py build_ext"}
|
${optionalString includeModules "$out/bin/python ./setup.py build_ext"}
|
||||||
|
|
||||||
${optionalString stdenv.isLinux ''rm "$out"/lib/python*/plat-linux2/regen # refers to glibc.dev''}
|
rm "$out"/lib/python*/plat-*/regen # refers to glibc.dev
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = rec {
|
passthru = rec {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user