-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Incorrect zstd static flag #120
Comments
I think you're currently not using my pinned submodule: https://github.com/nh2/static-haskell-nix/tree/88f1e2d57e3f4cd6d980eb3d8f99d5e60040ad54 which has these commits https://github.com/NixOS/nixpkgs/commits/9e49f8f1f37bc906cda1adb33064c325d760819a among which NixOS/nixpkgs@40d2db0 which has an open PR upstream at NixOS/nixpkgs#243161 |
This makes much more sense now. Thank you @nh2 Another question on this topic is that I need a GHC946 specifically, and the latest 94x one in your branch is 945. I hope I'm not taking too much of your time. I've used the wrong account to create an issue 😝 |
If I understand you right, you're saying that my pinned nixpkgs has In that case, you can do the following steps:
|
I'm somewhat new to nix, but it seems like the option to build
zstd
statically should bestatic = true
, notenableStatic = true
.I'm not sure that this is relevant here, but I'm building against unsable nixpkgs, as I need an ghc946.
Howerver I don't see
zstd.enableStatic
flag ever in the history ofzstd/default.nix
.While trying to build my project I ended up with a patch to
survey/default.nix
with this content:Only after patching
survey
I was able to build my project.Is it something wrong on my side, and it should actually be
enableStatic
?https://github.com/NixOS/nixpkgs/blob/4077a0e4ac3356222bc1f0a070af7939c3098535/pkgs/tools/compression/zstd/default.nix#L6
The text was updated successfully, but these errors were encountered: