summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2024-05-31 22:32:56 +0100
committerSergei Trofimovich <slyich@gmail.com>2024-06-01 05:59:59 +0100
commitc682f2b49174b49107bab2868973a363437730b9 (patch)
tree9ad3a453d71da04352afd5163948fbecb0394b99 /pkgs/development/python-modules/rangehttpserver
parentfcfad390d0d6eb9ce59ed65b9159215bcd347451 (diff)
gcc: provide a $libgcc/$target/lib -> $libgcc/lib symlink
The primary reason for the layout change is for `gcc.libgcc` to match closer `gcc.lib` layout. That way we allow `$STRIP_FOR_TARGET` to strip `libgcc_s.so.1` file moved to $libgcc output. Otherwise `$STRIP` (for host) fails to do it and leaves debug strings like references to headers in it and bloats HOST closure with BUILD inputs. The change shrinks `aarch64-multiplatform-musl.coreutils` closure from 50MB down to 10MB: Before: $ nix path-info -rsSh $(nix-build -A pkgs.pkgsCross.aarch64-multiplatform-musl.coreutils) |& unnix /<<NIX>>/xgcc-13.2.0-libgcc 155.8K 155.8K /<<NIX>>/musl-aarch64-unknown-linux-musl-1.2.3 3.8M 3.8M /<<NIX>>/libunistring-1.1 1.7M 1.7M /<<NIX>>/libidn2-2.3.7 352.7K 2.1M /<<NIX>>/glibc-2.39-52 28.7M 31.0M /<<NIX>>/bash-5.2p26 1.5M 32.5M /<<NIX>>/musl-aarch64-unknown-linux-musl-1.2.3-bin 69.4K 3.8M /<<NIX>>/linux-headers-6.7 6.2M 6.2M /<<NIX>>/musl-aarch64-unknown-linux-musl-1.2.3-dev 550.2K 43.1M /<<NIX>>/aarch64-unknown-linux-musl-gcc-13.2.0-libgcc 579.7K 43.6M /<<NIX>>/aarch64-unknown-linux-musl-gcc-13.2.0-lib 3.8M 47.4M /<<NIX>>/gmp-with-cxx-aarch64-unknown-linux-musl-6.3.0 653.4K 48.1M /<<NIX>>/attr-aarch64-unknown-linux-musl-2.5.2 73.8K 3.8M /<<NIX>>/acl-aarch64-unknown-linux-musl-2.3.2 156.4K 4.0M /<<NIX>>/coreutils-aarch64-unknown-linux-musl-9.5 1.6M 49.9M After: $ nix path-info -rsSh $(nix-build -A pkgs.pkgsCross.aarch64-multiplatform-musl.coreutils) |& unnix /<<NIX>>/musl-aarch64-unknown-linux-musl-1.2.3 3.8M 3.8M /<<NIX>>/aarch64-unknown-linux-musl-gcc-13.2.0-libgcc 147.9K 147.9K /<<NIX>>/aarch64-unknown-linux-musl-gcc-13.2.0-lib 3.8M 7.7M /<<NIX>>/gmp-with-cxx-aarch64-unknown-linux-musl-6.3.0 653.4K 8.4M /<<NIX>>/attr-aarch64-unknown-linux-musl-2.5.2 73.8K 3.8M /<<NIX>>/acl-aarch64-unknown-linux-musl-2.3.2 156.4K 4.0M /<<NIX>>/coreutils-aarch64-unknown-linux-musl-9.5 1.6M 10.1M
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions