**Describe the bug** `cabal repl -b ...` populates the `dist-newstyle` directory, even though it shouldn't. **To Reproduce** ``` $ mkdir some-dir && cd some-dir $ ls $ cabal v2-repl -b base > :q $ ls # should be empty, but isn't $ tree . └── dist-newstyle └── cache └── compiler ``` Please use version-prefixed commands (e.g. `v2-build` or `v1-build`) to avoid ambiguity. **Expected behavior** No `dist-newstyle` should be created **System information** - Arch Linux - `cabal` 3.8.1.0 - `ghc` 8.10.7
Activity
[-]`cabal repl -b` generates dist-newstyle[/-][+]`cabal repl -b ...` generates `dist-newstyle` [/+]gbaz commentedon Nov 13, 2022
expect this may be fixed by #8358 ?
fendor commentedon Nov 14, 2022
Just checked cabal for the latest master commit e714824 and it is not fixed.
ulysses4ever commentedon Nov 14, 2022
Same, I pulled the version built in CI for #8358, and it does create
dist-newstyleboth forcabal replandcabal update.