diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-02-03 00:51:08 +0200 |
---|---|---|
committer | Dan Peebles <pumpkin@me.com> | 2016-02-13 16:03:55 -0500 |
commit | 34922a3951a0ada7af4fe808250abaf5feb4e28e (patch) | |
tree | bc636c073965156d9a3de980cb11c6bbcc743885 | |
parent | 78e62da7f1f022e6ee3cc16a1ef716d82151f2f2 (diff) | |
download | nixlib-34922a3951a0ada7af4fe808250abaf5feb4e28e.tar nixlib-34922a3951a0ada7af4fe808250abaf5feb4e28e.tar.gz nixlib-34922a3951a0ada7af4fe808250abaf5feb4e28e.tar.bz2 nixlib-34922a3951a0ada7af4fe808250abaf5feb4e28e.tar.lz nixlib-34922a3951a0ada7af4fe808250abaf5feb4e28e.tar.xz nixlib-34922a3951a0ada7af4fe808250abaf5feb4e28e.tar.zst nixlib-34922a3951a0ada7af4fe808250abaf5feb4e28e.zip |
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
-rw-r--r-- | pkgs/development/interpreters/python/2.7/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/python/2.7/default.nix b/pkgs/development/interpreters/python/2.7/default.nix index 31839d24754e..f1ae897ea4ac 100644 --- a/pkgs/development/interpreters/python/2.7/default.nix +++ b/pkgs/development/interpreters/python/2.7/default.nix @@ -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 { |