mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
Merge pull request #88454 from adisbladis/pypy-closure-size
pypy: Remove bootstrap python from closure
This commit is contained in:
commit
19b2898442
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user