-
Notifications
You must be signed in to change notification settings - Fork 251
Closed
Labels
bugSomething isn't workingSomething isn't workingduplicateThis issue or pull request already existsThis issue or pull request already exists
Description
Hi,
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?
Here is a minimal demo repo: https://github.com/dddenis/haskell-nix-c2hs
AleXoundOS
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingduplicateThis issue or pull request already existsThis issue or pull request already exists