-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fully static linking #6
Comments
I'm trying this now and I'm unable to reproduce your results. |
I made a mistake, using a branch name to refer to the nixpkgs commit:
I thought I should have used:
I have now force-pushed my repo (usually foce-pushing master isn't nice but I wrote down wrote these things down in the commit messages for reproducibility, so that's more important to me to get right). Could you try again? |
The push in question is this one: NixOS/nixpkgs#37522 (reference) |
It worked! I've updated my blog post accordingly. |
OK you totally sniped me with this, but here we go:
I've managed to esentially fully solve #5, doing fully static linking, by not using glibc, but a fully
musl
based tool chain.Here: https://github.com/nh2/static-haskell-nix
At the time of writing, it's at this commit.
This is based on work of @dtzWill (such as NixOS/nixpkgs#34645 and especially this NixOS/nixpkgs#37598 (comment)).
CC @angerman @bgamari, some of your work is paying off big time here.
The text was updated successfully, but these errors were encountered: