-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
haskell.lib.justStaticExecutables
doesn't seem to reduce closure size
#42095
Comments
I've tried this with |
This looks like a duplicate of #34376, closing. |
This is a duplicate of that issue for pandoc (that issue is scoped to just pandoc, however!), but strip does not seem to fix it on my aarch64-darwin, while building a large (currently proprietary) binary with GHC-9.2.4. Nixpkgs commit d6490a0 Paths to libraries that are affected (big app!):
|
#164630 related issue, I would say even more canonical. |
Issue description
haskell.lib.justStaticExecutables
doesn't seem to reduce closure size as reported bydu -sch $(nix-store -qR $path)
. Is this the expected behaviour, and if so what is the way to remove unneeded dependencies to reduce closure size?Steps to reproduce
Technical details
"x86_64-linux"
Linux 4.14.47, NixOS, 18.03.132645.43c77db3aa5 (Impala)
yes
no
nix-env (Nix) 2.0.4
""
"nixos-18.03.132645.43c77db3aa5"
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
The text was updated successfully, but these errors were encountered: