-
Notifications
You must be signed in to change notification settings - Fork 722
Closed
Labels
cabal-install: v2-build systemAffecting v2-build and related commands that use v2-architecture (aka "nix local builds").Affecting v2-build and related commands that use v2-architecture (aka "nix local builds").
Description
I have a cabal package that defines a library and executable. Not surprisingly, they have the same name. Here is what happens when I try to use cabal new-run
with it:
$ cabal new-run cryptol
cabal: Ambiguous target 'cryptol'. It could be:
exe:cryptol (component)
lib:cryptol (component)
It doesn't really make sense to run a library (and Cabal knows that, as it reports an error if you try to do so), so new-run
should only consider the executable targets and filter out the rest.
Metadata
Metadata
Assignees
Labels
cabal-install: v2-build systemAffecting v2-build and related commands that use v2-architecture (aka "nix local builds").Affecting v2-build and related commands that use v2-architecture (aka "nix local builds").