Merge pull request #88454 from adisbladis/pypy-closure-size

pypy: Remove bootstrap python from closure
This commit is contained in:
adisbladis 2020-05-23 12:52:24 +02:00 committed by GitHub
commit 19b2898442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);