-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Remove reference to unpackaged GHC version #51050
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
Conversation
This reverts commit d13f7c5. ghc802 is no longer in Nixpkgs as of 2f0de54. The Cabal bug that ghc802 was a workaround for was fixed in Cabal 2.2, though, so this shouldn't be necessary any more. Upstream bugs: NixOS/jailbreak-cabal#13 haskell/cabal#4719 Fixes NixOS#51042.
@GrahamcOfBorg build haskell.packages.ghcHEAD.jailbreak-cabal |
Failure on aarch64-linux (full log) Attempted: haskell.packages.ghcHEAD.jailbreak-cabal Partial log (click to expand)
|
… I highly doubt that that's related to this change. |
Timed out, unknown build status on x86_64-linux (full log) Attempted: haskell.packages.ghcHEAD.jailbreak-cabal Partial log (click to expand)
|
Might be losely related I tried cherrypicking on nixos-unstable and then master but
When doing a strace:
I can't find the reference to |
Seems like the code comes from stack, not sure how to override the ghc compiler though commercialhaskell/stack@da1102b#diff-941db6c0f438bcb7bd9e6c52089f0fb8 |
A good tip was given on irc. To work around teh stack limitation, add in your overlay a fake ghc802 compiler that redirects on another one. |
This reverts #28827.
Motivation for this change
#51042
ghc802 is no longer in Nixpkgs as of 2f0de54.
The Cabal bug that ghc802 was a workaround for was fixed in Cabal 2.2, though, so this shouldn't be necessary any more.
Upstream bugs:
NixOS/jailbreak-cabal#13
haskell/cabal#4719
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)