mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 19:18:03 +00:00
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 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 {
|
||||
|
Loading…
Reference in New Issue
Block a user