Flag to constraint cabal-solver only to installed packages
Open
cabal-install: other
cabal-install: solver
type: enhancement
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
I just realized that along with the more general #2568, a different specialization besides `--offline` (see #2566) would be even more convenient for me (and maybe others as well) to have: A flag `--no-dependencies` or `--only-installed` that would effectively limit the cabal solver to only what's already installed in the current package db. That's effectively how `cabal configure`/`cabal build` operate, which have to make do with what's already registered in the package database.
Contributor guide
Assessment
This issue has not been assessed yet.