diff options
author | adisbladis <adisbladis@gmail.com> | 2020-05-20 21:21:40 +0100 |
---|---|---|
committer | adisbladis <adisbladis@gmail.com> | 2020-05-23 11:47:11 +0100 |
commit | 203f382a4a2093939aaf3d1f05a5e2292ce3be93 (patch) | |
tree | 516cc00eceb27a77a29cc74b22f173ef7c648aa7 /pkgs/development/interpreters | |
parent | dcd6887da4e60679034a7815d52252137ffbc38e (diff) |
pypy: Remove bootstrap python from closure
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r-- | pkgs/development/interpreters/python/pypy/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/python/pypy/default.nix b/pkgs/development/interpreters/python/pypy/default.nix index e782eb2fdeeaa..e5828fdd3740b 100644 --- a/pkgs/development/interpreters/python/pypy/default.nix +++ b/pkgs/development/interpreters/python/pypy/default.nix @@ -53,6 +53,10 @@ in with passthru; stdenv.mkDerivation rec { hardeningDisable = optional stdenv.isi686 "pic"; + # Remove bootstrap python from closure + dontPatchShebangs = true; + disallowedReferences = [ python ]; + C_INCLUDE_PATH = makeSearchPathOutput "dev" "include" buildInputs; LIBRARY_PATH = makeLibraryPath buildInputs; LD_LIBRARY_PATH = makeLibraryPath (filter (x : x.outPath != stdenv.cc.libc.outPath or "") buildInputs); |