-
Notifications
You must be signed in to change notification settings - Fork 722
Closed
Labels
Description
Describe the bug
cabal-install
3.14.2.0
and 3.16.0.0
build-depends on network-uri >=2.6.0.2 && <2.7
, but fails to build with network-uri
2.6.0.2
, 2.6.0.3
, and 2.6.1.0
.
The reason being that Distribution.Client.ProjectConfig.Legacy
uses nullURIAuth
that was only added in network-uri >=2.6.2.0
.
To Reproduce
Steps to reproduce the behavior:
$ cabal install cabal-install-3.14.2.0 --with-compiler ghc-9.6.7 --constraint 'network-uri ==2.6.0.2'
...
src/Distribution/Client/ProjectConfig/Legacy.hs:188:31: error:
Module ‘Network.URI’ does not export ‘nullURIAuth’
|
188 | import Network.URI (URI (..), nullURIAuth, parseURI)
| ^^^^^^^^^^^
Expected behavior
Dependency bounds should exclude these configurations.