Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cabal repl -b ... generates dist-newstyle #8550

Closed
fendor opened this issue Oct 22, 2022 · 3 comments · Fixed by #8627
Closed

cabal repl -b ... generates dist-newstyle #8550

fendor opened this issue Oct 22, 2022 · 3 comments · Fixed by #8627

Comments

@fendor
Copy link
Collaborator

fendor commented Oct 22, 2022

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
@fendor fendor changed the title cabal repl -b generates dist-newstyle cabal repl -b ... generates dist-newstyle Oct 22, 2022
@gbaz
Copy link
Collaborator

gbaz commented Nov 13, 2022

expect this may be fixed by #8358 ?

@fendor
Copy link
Collaborator Author

fendor commented Nov 14, 2022

Just checked cabal for the latest master commit e714824 and it is not fixed.

@ulysses4ever
Copy link
Collaborator

Same, I pulled the version built in CI for #8358, and it does create dist-newstyle both for cabal repl and cabal update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants