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";
|
hardeningDisable = optional stdenv.isi686 "pic";
|
||||||
|
|
||||||
|
# Remove bootstrap python from closure
|
||||||
|
dontPatchShebangs = true;
|
||||||
|
disallowedReferences = [ python ];
|
||||||
|
|
||||||
C_INCLUDE_PATH = makeSearchPathOutput "dev" "include" buildInputs;
|
C_INCLUDE_PATH = makeSearchPathOutput "dev" "include" buildInputs;
|
||||||
LIBRARY_PATH = makeLibraryPath buildInputs;
|
LIBRARY_PATH = makeLibraryPath buildInputs;
|
||||||
LD_LIBRARY_PATH = makeLibraryPath (filter (x : x.outPath != stdenv.cc.libc.outPath or "") buildInputs);
|
LD_LIBRARY_PATH = makeLibraryPath (filter (x : x.outPath != stdenv.cc.libc.outPath or "") buildInputs);
|
||||||
|
Loading…
Reference in New Issue
Block a user