"cabal install --only" incompatible with "--builddir"
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
It appears that "cabal install --only --builddir=SOME_DIR" ignores the "--builddir" option.
This works:
rm -rf dist not-dist
cabal configure
cabal build
cabal install --only
This works:
rm -rf dist not-dist
cabal install --builddir=not-dist
This works:
rm -rf dist not-dist
cabal configure --builddir=not-dist
cabal build --builddir=not-dist
cabal install --builddir=not-dist
This does not work:
rm -rf dist not-dist
cabal configure --builddir=not-dist
cabal build --builddir=not-dist
cabal install --only --builddir=not-dist
The "install" fails with:
cabal: Run the 'configure' command first.
which is the same error I get if do "cabal install --only" without doing "cabal configure" first.
Contributor guide
Assessment
This issue has not been assessed yet.