haskell / haskell/cabal

Missing documentation for `--force-reinstalls`

Open
#8,716 1 comment 0 reactions 0 assignees View on GitHub
cabal-install: cmd/build documentation re: options
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

`cabal build` accepts option `--force-reinstalls` and I came across it here: https://github.com/agda/agda/blob/0e85116e87e53e38cbdfa499f573970d6f78555a/src/github/workflows/haddock.yml#L75

`cabal build --help` offers this explanation:
> --force-reinstalls
> Reinstall packages even if they will most likely break other installed packages.

However, I thought this was a `v1` thing, and `v2` builds do not break other installed pacakges.

The documentation does not know about `--force-reinstalls`, at least I didn't find it in the index and in doc search.

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.