diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-01 16:01:36 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-01 18:57:43 +0200 |
commit | fdd7399a3c8492084e2065861e8b25b36555bcaa (patch) | |
tree | 7f125fd7ac0b3dd1def96aeedd80647abcdc793f | |
parent | 02bae3913260296447fe80ffb44276f48239e317 (diff) |
python-3.5: Also remove -L flags
This reduces the Python closure size by another 10 MiB.
-rw-r--r-- | pkgs/development/interpreters/python/cpython/3.5/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/python/cpython/3.5/default.nix b/pkgs/development/interpreters/python/cpython/3.5/default.nix index a2149ddb8bdb0..67f9dc1c4f8c9 100644 --- a/pkgs/development/interpreters/python/cpython/3.5/default.nix +++ b/pkgs/development/interpreters/python/cpython/3.5/default.nix @@ -99,7 +99,7 @@ stdenv.mkDerivation { # Get rid of retained dependencies on -dev packages, and remove # some $TMPDIR references to improve binary reproducibility. for i in $out/lib//python${majorVersion}/_sysconfigdata.py $out/lib/python${majorVersion}/config-${majorVersion}m/Makefile; do - sed -i $i -e "s|-I/nix/store/[^ ']*||g" -e "s|$TMPDIR|/no-such-path|g" + sed -i $i -e "s|-I/nix/store/[^ ']*||g" -e "s|-L/nix/store/[^ ']*||g" -e "s|$TMPDIR|/no-such-path|g" done # FIXME: should regenerate this. |