Open
Description
I want to use tasty-discover
, which I have added to my .cabal
file as:
build-tool-depends: tasty-discover:tasty-discover
As described in input-output-hk/nix-tools#95, this adds a build-tools
entry in the cabal-to-nix
expression, which is used in setup-builder.nix
to form executableToolDepends
. However, it doesn't propagate correctly into the shell produced with shellFor
. For build-tool-depends
to work, we need a tasty-discover
entry in the ghc-pkg
database that also has the tasty-discover
executable. As things currently stand, there is no entry at all. We can use additional = pkgs: [ pkgs.tasty-discover ]
, but that will only add a tasty-discover
to the package database as a library - no executables will get included.