-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
haskellPackages.ghc-mod is broken #36604
Comments
I have the same problem, someone can help finding a fix ? |
cc @peti |
I suppose the correct solution would be to raise the upper bound limits of the dependency versions upstream: "As for the over-restrictive bounds I'd be happy to merge a PR that just bumps the related dependencies if you tested that everything builds and works with them." |
Fixed by c665fcc. |
@peti ghc-mod is also broken on master and 18.03. Could you maybe also take a look?
|
Unfortunately, those problems are harder to fix. Note that |
Okay, thanks! |
|
Still broken in two different ways on 18.09 and unstable (channel) as of today. :/ $ nix run -f channel:nixos-unstable pkgs.haskellPackages.ghc-mod
builder for '/nix/store/ddr3fnswk05xpllfqva499aca8j2538f-ghc-mod-5.8.0.0.drv' failed with exit code 1; last 10 log lines:
Setup.hs:92:26: error:
• Couldn't match expected type ‘Distribution.Types.UnqualComponentName.UnqualComponentName’
with actual type ‘[Char]’
• In the second argument of ‘(==)’, namely ‘"ghc-mod-real"’
In the first argument of ‘when’, namely
‘(exeName exe == "ghc-mod-real")’
In the expression: when (exeName exe == "ghc-mod-real")
|
92 | when (exeName exe == "ghc-mod-real") $ do
| ^^^^^^^^^^^^^^
[5 built (1 failed), 184 copied (2660.9 MiB), 224.5 MiB DL]
error: build of '/nix/store/ddr3fnswk05xpllfqva499aca8j2538f-ghc-mod-5.8.0.0.drv' failed
|
AFAIK threre's no upstream release supporting GHC 8.4.x. I'm building |
I switched to use vscode + hie but it would be nice to have the ghc-mod running again. The Language Server Protocol is a nice thing too. (just posting this for people who want to find a quick alternative) |
I use this hack and this expression to steal
It is a bad hack, used to be easier, binary cache doesn't seem to be working but it still better than nothing I have no idea why |
Issue description
I did a
nixos-rebuild switch --upgrade
today and got this :Steps to reproduce
nixos-rebuild switch --upgrade
andnix-shell -p haskellPackages.ghc-mod
(I guess)Technical details
The text was updated successfully, but these errors were encountered: