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: fix package sets based on integer-simple #43367
haskell: fix package sets based on integer-simple #43367
Conversation
Fixes mass build failures in these package sets, due to "unknown pacakge: integer-simple". Attributes that demonstrate this (see before/after): * haskell.packages.integer-simple.ghc843.hello * haskell.packages.integer-simple.ghc802.scientific The second one is from the NixOS manual, FWIW.
This shouldn't be necessary. You should be able to bootstrap simple integer GHC without a GHC using GMP. I wonder if the issue is that Off-topic but this |
I honestly don't know-- FWIW the compilers build successfully, and As I'm writing that, I realize i didn't check where Yep! The normal ( Not sure if that helps? :) |
cc @nh2 -- somewhat relevant for static linking, especially re:any issues encountered using libgmp (technical or due to licensing (?)). Might make sense to have a GHC with dependencies containing static libraries (perhaps in addition to shared ones) to make it easier to statically link... things like gmp/zlib/ncurses (and libc if using glibc?). Anyway the other PR I submitted today is likely much more relevant, ping incoming :). |
cc @Ericson2314 -- do you have any insights into why this might be good/bad/needed/not ? :) |
I think this actually is needed. |
Yeah that's it. |
@dtzWill That sounds pretty fantastic -- it feels like the right path forward is to first make building Haskell fully statically easy with nix in |
Fixes mass build failures in these package sets,
due to "unknown pacakge: integer-simple".
Attributes that demonstrate this (see before/after):
The second one is from the NixOS manual, FWIW.
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)Truth be told this change was an "educated guess" of sorts,
while debugging why none of these packages would compile.
It seems reasonable to me, but I don't have much of an argument
for why it is a good change other than "it fixes things".