haskell / haskell/cabal

Flag to constraint cabal-solver only to installed packages

Open
#2,596 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.