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 am trying to use haskell.nix on a project with c2hs defined in build-tool-depends.
It builds correctly, but when I try to integrate haskell-ide-engine in shellFor environment, which uses cabal underneath - I get:
2020-07-12 11:33:34.659885955 [ThreadId 14] - cabal: Could not resolve dependencies:
2020-07-12 11:33:34.659905655 [ThreadId 14] - [__0] trying: haskell-nix-c2hs-0.1.0.0 (user goal)
2020-07-12 11:33:34.659924375 [ThreadId 14] - [__1] unknown package: haskell-nix-c2hs:c2hs:exe.c2hs (dependency of
2020-07-12 11:33:34.659943695 [ThreadId 14] - haskell-nix-c2hs)
2020-07-12 11:33:34.659960355 [ThreadId 14] - [__1] fail (backjumping, conflict set: haskell-nix-c2hs,
2020-07-12 11:33:34.659977975 [ThreadId 14] - haskell-nix-c2hs:c2hs:exe.c2hs)
2020-07-12 11:33:34.659994695 [ThreadId 14] - After searching the rest of the dependency tree exhaustively, these were the
2020-07-12 11:33:34.660012995 [ThreadId 14] - goals I've had most trouble fulfilling: haskell-nix-c2hs,
2020-07-12 11:33:34.660029935 [ThreadId 14] - haskell-nix-c2hs:c2hs:exe.c2hs
Is it possible to let cabal in shellFor environment know of c2hs existence?
Hi,
I am trying to use haskell.nix on a project with
c2hs
defined inbuild-tool-depends
.It builds correctly, but when I try to integrate
haskell-ide-engine
inshellFor
environment, which uses cabal underneath - I get:Is it possible to let cabal in
shellFor
environment know ofc2hs
existence?Here is a minimal demo repo: https://github.com/dddenis/haskell-nix-c2hs
The text was updated successfully, but these errors were encountered: