Commit 9f37bbac authored by kristenk's avatar kristenk Committed by Edward Z. Yang
Browse files

Add regression test for issue #4154.

parent 2f230af3
import Test.Cabal.Prelude
-- Test that unqualified command line constraints do not constrain setup
-- dependencies. cabal should be able to install the local time-99999 by
-- building its setup script with the installed time, even though the installed
-- time doesn't fit the constraint.
main = cabalTest $ withRepo "repo" $
cabal "new-build" ["time", "--constraint=time==99999", "--dry-run"]
name: Cabal
version: 99999
cabal-version: >=1.8
build-type: Simple
build-depends: base, time
name: time
version: 99999
cabal-version: >=1.8
build-type: Custom
setup-depends: base, Cabal == 99999
build-depends: base
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment