Open
Description
If I do cabal repl
or cabal build
in the root of a project, cabal
will select a default component. It would be nice if this component were available from Nix on the project
value.
I believe the heuristic is to choose the cabal package in the same dir as cabal.project (if any), then choose its lib component or its first exe if none. But I haven't verified this.