You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Take --constraint into account for configure/build/test #1564
AFAICT, --constraint (and constraints given in ./cabal.config) are only taken into account for cabal install. For me It would be useful if they would also be taken into account during development.
Say if I have
constraints:foo==0.2.1
in cabal.config, but foo-0.2.2 is installed, I'd like cabal build to fail.
Activity
23Skidoo commentedon Oct 27, 2013
This seems to be a bug in
configure:cabal configure --constraint="foo==1.0.1"succeeds even if onlyfoo-1.0.0is installed.Related: #1485.
23Skidoo commentedon Oct 27, 2013
Looks like this issue is a duplicate of #1150.
23Skidoo commentedon Oct 27, 2013
See #1565.
sol commentedon Oct 27, 2013
Works with your code. Thanks a lot!
'cabal configure': honor the '--constraint' flag.