-
Notifications
You must be signed in to change notification settings - Fork 81
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
X is not a toolchain library #1920
Comments
Hi aveltras, thanks for the bug report. I know there have been some changes to GHC 9.6 that might be causing this and we have to adapt rules_haskell for that. I'll have a deeper look later. |
Hi @avdv, |
@aveltras this issue should now be fixed. If you could take a look if it works for you and report back that would be awesome. |
@avdv seems to be working, i could enter the repl with the full project now |
Hi,
I have upgraded a project to use GHC 9.6.2 (from 9.2.5).
I'm using nix to provide haskell dependencies using
ghcWithPackages
like so:I have a
BUILD
file with many targets and I have all the nix provided libraries declared ashaskell_toolchain_library
:This used to work previously but now I can't load REPL or build library because of the following error:
The library specified in the error (here
aeson-pretty
) changes with each try so i think it's a more general issue.The libraries are available with the nix provided GHC according to
ghc-pkg list
ghc-pkg list | grep aeson-pretty aeson-pretty-0.8.9
I'm using latest commit for
rules_haskell
andrules_nixpkgs
.Has something changed in the way we should use rules_haskell with Nix recently ?
The text was updated successfully, but these errors were encountered: