haskell / haskell/cabal

Override version equality constraints

Open
#9,511 7 comments 1 reaction 1 assignee Claimed by @philderbeast View on GitHub
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

If we were able to override version equality constraints then we would not have to download a stackage resolver's `cabal.config` file locally and comment out conflicting versions. This would work much the way stack allows its version overrides.

> In 3.8 we will have conditionals and includes (including remote) in
> cabal project files. So it will cover many use cases. However, we will
> not yet have the ability to override constraints in included files. So
> if you include a given lts, you will not be able to bump the version
> of anything in the lts, outside of downloading and modifying its
> freeze file, then depending on the modified freeze file.

_Originally posted by @gbaz in https://github.com/haskell/cabal/issues/7556#issuecomment-1120433903_

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.