Skip to content

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

Closed

Description

@fendor

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

  1. changed the title [-]`cabal repl -b` generates dist-newstyle[/-] [+]`cabal repl -b ...` generates `dist-newstyle` [/+] on Oct 22, 2022
  2. gbaz commented on Nov 13, 2022

    @gbaz
    Collaborator

    expect this may be fixed by #8358 ?

  3. fendor commented on Nov 14, 2022

    @fendor
    CollaboratorAuthor

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

  4. ulysses4ever commented on Nov 14, 2022

    @ulysses4ever
    Collaborator

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

  5. added this to the Considered for 3.10 milestone on Dec 1, 2022
  6. self-assigned this
    on Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions