When a package depends only on base
and template-haskell
, template-haskell
is not present in the shell
#2256
Labels
bug
Something isn't working
Describe the bug
I just created a new library with a cabal file, and listed
base
andtemplate-haskell
as dependencies, with no other dependencies. Upon entering a nix-shell,template-haskell
was not present, andcabal repl
failed as a result. After adding a non-built-in package to my package's build-depends,template-haskell
was in the shell, and everything worked.Steps To Reproduce
Create a minimal cabal package listing only
base
andtemplate-haskell
as dependencies. Enter a standard haskell.nix shell. Runghc-pkg
and observe thattemplate-haskell
is not present.Expected behavior
template-haskell
should be present in the nix shell.Additional context
default.nix:
shell.nix:
haskell.nix revision: a8026bd
The text was updated successfully, but these errors were encountered: