Skip to content

cabal new-build --package-db=foo doesn't do anything #5773

Closed

Description

@phadej

if foo doesn't exist: builds
if foo exists: doesn't consider it.

I think that for 3.0 we should either remove package database flags from new-build commands; or teach these commands to use other package databases. I.e. to consider other, not only global database. I actually have a use case for this. ("obviously", if I use some weird --package-db, I'd use my own --store-dir etc. so this is intended for people who know what they are doing).

Activity

  1. added
    cabal-install: v2-build system
    on Jun 23, 2019
  2. linked a pull request that will close this issueAdd package-db flag for v2 commands #7676on Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cabal-install: v2-build system

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions