lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

python-3.5: Eliminate -dev paths from the runtime closure

This reduces Python's closure size from 200 MiB to 129 MiB. Even
better would be to get move tkinter to a separate output or package
(since that would get rid of all X11 stuff), but that's a bit harder.

+11
+11
pkgs/development/interpreters/python/cpython/3.5/default.nix
··· 95 95 paxmark E $out/bin/python${majorVersion} 96 96 ''; 97 97 98 + postFixup = '' 99 + # Get rid of retained dependencies on -dev packages, and remove 100 + # some $TMPDIR references to improve binary reproducibility. 101 + for i in $out/lib//python${majorVersion}/_sysconfigdata.py $out/lib/python${majorVersion}/config-${majorVersion}m/Makefile; do 102 + sed -i $i -e "s|-I/nix/store/[^ ']*||g" -e "s|$TMPDIR|/no-such-path|g" 103 + done 104 + 105 + # FIXME: should regenerate this. 106 + rm $out/lib/python${majorVersion}/__pycache__/_sysconfigdata.cpython* 107 + ''; 108 + 98 109 passthru = rec { 99 110 zlibSupport = zlib != null; 100 111 sqliteSupport = sqlite != null;