cabal install parsec
error inconsistent inside and outside project
#9839
Labels
cabal install parsec
error inconsistent inside and outside project
#9839
Describe the bug
Running
cabal install P
whereP
is a package without executables should fail, and it does. However, it fails in different ways outside and inside a project.Inside a project, it prints:
Outside a project, it prints:
Note that the warning is printed twice in the latter case.
Related to #9706, issue created as prompted by @andreabedini.
To Reproduce
Steps to reproduce the behavior:
Long terminal log
Expected behavior
cabal install parsec
is a global operation that is unrelated to any project in the current directory, and hence I would expect that it does not take settings from any such local project. Thus I expect the behaviour to be identical inside and outside a project.Furthermore, it's suspicious that outside a project, the warning is printed twice.
System information
cabal
:master
at the time of writing: 1c1230ca2.ghc
: 9.4.7The text was updated successfully, but these errors were encountered: