You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just created a new library with a cabal file, and listed base and template-haskell as dependencies, with no other dependencies. Upon entering a nix-shell, template-haskell was not present, and cabal 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 and template-haskell as dependencies. Enter a standard haskell.nix shell. Run ghc-pkg and observe that template-haskell is not present.
Expected behavior
template-haskell should be present in the nix shell.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
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: