-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Big closure size #317
Comments
AFAIK, we do not rely on llvm-dev & nix-dev as runtime dependency, only llvm.out & nix.out. |
LLVM closure size is much larger than many other repositories (e.g. Debian), it's only about 30~40M if properly packaged1. You may refer to NixOS/nixpkgs#230616 and these llvm static libraries contributed most closure size (which is definitely unnecessary at runtime). Footnotes
|
You are right, the llvm itself is the main problem. My mentioned packaged llvm-dev and nix-dev are only a problem on darwin, the dependencies are: /nix/store/qlml6qifkgs47s3gb714lcq4vh27qpic-libcxxabi-16.0.6 On linux, the package dependency shows following: nix/store/p3jshbwxiwifm1py0yq544fmdyy98j8a-glibc-2.38-27 |
The root cause is the big llvm package, which needs to be fixed in nixpkgs. Therefor I close this issue. |
The closure size of nixd is round about 550Mb on latest nixpkgs.
I would be great if the runtime dependency to llvm-dev and nix-dev can be removed.
The text was updated successfully, but these errors were encountered: