cabal install pkg-x.y.z
fails unless --ignore-project
is given
#8325
Labels
cabal-install: cmd/install
can-workaround
There is a (maybe partial) workaround for the issue or missing feature
re: --ignore-project
Concerning flag `--ignore-project`
re: target
Concerning build targets like pkg:lib
If you sit in a local project directory and
cabal install
a remote package, you cannot give its version suffix unless you also pass--ignore-project
.Reproducer:
cabal install fix-whitespace-0.0.8
fails:cabal install fix-whitespace
succeedscabal install --ignore-project fix-whitespace-0.0.8
also succeedsIn the wild: https://github.com/haskell/cabal/runs/7509048343?check_suite_focus=true#step:6:1
The text was updated successfully, but these errors were encountered: