pypy: Remove bootstrap python from closure

This commit is contained in:
adisbladis 2020-05-20 21:21:40 +01:00
parent dcd6887da4
commit 203f382a4a
No known key found for this signature in database
GPG Key ID: 110BFAD44C6249B7

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