1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00
nixpkgs/pkgs/os-specific/windows
Sergei Trofimovich d82ce04557 windows.mingw_w64: enable stripping
With 0507725 "setup-hooks/strip.sh: run RANLIB on static
archives after stripping" it should now be safe to run strip
on wider range of .a files.

mingw-w64 is a good example where a reference was preserved
to gcc from intermediate stage. Enabling stripping by default
decreases `pkgsCross.mingw32` closure for 20%:

Before:

    $ nix path-info -rsSh $(nix-build -A pkgsCross.mingw32.stdenv)
    ...
    /nix/store/qzhkidff0wxhqf2gi97ng6qismzvpnbp-stdenv-linux 43.6K    1.0G

After:

    $ nix path-info -rsSh $(nix-build -A pkgsCross.mingw32.stdenv)
    ...
    /nix/store/fj4dv1n3sa3jgcb1j3nwn6njsf943n48-stdenv-linux 43.6K  792.4M
2022-07-28 21:55:15 +01:00
..
cygwin-setup
jom
libgnurx
mcfgthreads
mingw-w64 windows.mingw_w64: enable stripping 2022-07-28 21:55:15 +01:00
mingwrt
npiperelay npiperelay: init at 0.1.0 2022-05-18 08:15:04 -04:00
pthread-w32
w32api
wxMSW-2.8
default.nix npiperelay: init at 0.1.0 2022-05-18 08:15:04 -04:00