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
When trying to use build-tool-depends: markdown-unlit:markdown-unlit
I get
plutarch-docs:markdown-unlit:exe.markdown-unlit-0.5.1/installed-4CgIbMeCiwSElzbwyyhikO
(does not contain executable 'markdown-unlit', which is required by my-library *test)
Which is wrong.
Build system: x86_64-linux
GHC version: 924
Haskell.nix version: 5eccdb523
Steps To Reproduce
add the following to your cabal file:
ghc-options: -pgmL markdown-unlit
build-depends:
, base
, markdown-unlit
build-tool-depends: markdown-unlit:markdown-unlit
This doesn't happen in the testcases in haskell.nix (like test/shell-for) because the dependencies are not resolved via haskell.nix but locally via cabal.
This is a huge issue causing all sorts of ugly hacks in practice.
The text was updated successfully, but these errors were encountered:
MangoIV
changed the title
Executables are not uses in build-tool-depends if the library is obtained via haskell.nix
Executables are not used in build-tool-depends if the library is obtained via haskell.nixNov 5, 2022
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
When trying to use
build-tool-depends: markdown-unlit:markdown-unlit
I get
Which is wrong.
x86_64-linux
924
5eccdb523
Steps To Reproduce
add the following to your cabal file:
Expected behavior
cabal manages to resolve the executable
Additional context
This is probably related to another issue I opened, #1662. Also related:
haskell/cabal#8481
IntersectMBO/cardano-node#4455
#839
This doesn't happen in the testcases in
haskell.nix
(liketest/shell-for
) because the dependencies are not resolved via haskell.nix but locally via cabal.This is a huge issue causing all sorts of ugly hacks in practice.
The text was updated successfully, but these errors were encountered: