Skip to content

--no-run-solver option #6204

Closed
Closed
@tseenshe

Description

@tseenshe

As discussed in #6203 it can be beneficial to workflows (e.g. large projects with many local packages) to run the solver rarely and to receive an error in preference to cache invalidation.

It would be good if this could be put behind a flag, e.g. --no-run-solver with the ability to go in cabal.project.local, and a --run-solver overriding.

Workflow: a developer could run the solver when they rebase their branch, then forgetting some trivial flag like -O0 or --enable-tests will cause an error rather than a (time costly) cache invalidation that requires another invalidation to fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions