-
Notifications
You must be signed in to change notification settings - Fork 4
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
Static Compilation #6
Comments
For haskell-only dependencies this was achieved with: ec7beb4 But for completely static executables, more things are needed including replacing glibc with musl. |
It turns out this is really important if we want to have smaller binaries, or not have to keep around all of the dependent haskell libraries. It really reduces the size of haskell applications down significantly. I'd think it almost should be done by default for any haskell apps even in the nixpkgs package set @rbellec @Zachaccino @DrFacepalm |
Not that important right now. It seems like static Haskell requires a change in the Nix tooling and the first thing to figure out would be cross-compilation. |
To create a static compilation, we should have a
release.nix
to produce such derivations. This needs to be added later.The text was updated successfully, but these errors were encountered: