-
Notifications
You must be signed in to change notification settings - Fork 256
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
- Build system: x86_64-linux
- GHC version: tested 9.6.6, 9.8.4, 9.10.1
- Haskell.nix rev : d4fd889 (as shown in flake.lock in repo below)
- Description:
ghc-pkg listdoes not show template-haskell after modifying.cabalfile to add it and restarting env, causingcabalcommands to fail to solve for the template-haskell constraint.
To reproduce:
- Clone and
cdto repo https://github.com/nrs-status/haskellnixIssue/tree/main - Modify cabal file to have
build-dependscontain onlybase, template-haskell nix developand thenghc-pkg list
Since cabal doesn't work (because it can't solve for the template-haskell package that is not in ghc-pkg list), this causes the lsp to not work as well. This wouldn't be an issue if it wasn't for the lsp, because the nix run and nix build commands work properly and seem to solve the constraint.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working