3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/file-managers/mc
Sergei Trofimovich 347e5f473e mc: stop retaining configure arguments in the final binary
Reduces closure size of cross-compiled binary a bit by not retaining
build-time perl and friends.

Before:

    $ nix path-info -Sh $(nix-build -A pkgsCross.ppc64.mc) | unnix
    /<<NIX>>/mc-powerpc64-unknown-linux-gnu-4.8.28   273.7M

After:

    $ nix path-info -Sh $(nix-build -A pkgsCross.ppc64.mc) | unnix
    /<<NIX>>/mc-powerpc64-unknown-linux-gnu-4.8.28   198.6M
2022-08-18 11:52:49 +01:00
..
default.nix mc: stop retaining configure arguments in the final binary 2022-08-18 11:52:49 +01:00