Skip to content
Snippets Groups Projects
Commit 45c102d7 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel :man_dancing:
Browse files

Don't use `cabal-version: >= 99999` in test-cases

Since we now reject unknown spec-versions in the solver, these test-cases
were broken; this replaces the 2 occurences by `cabal-version: 2.0` instead.
parent f9e2057d
No related branches found
No related tags found
No related merge requests found
# cabal new-build # cabal new-build
Warning: <ROOT>/custom-setup-without-cabal.cabal: This package requires at least Cabal version 99999
Resolving dependencies... Resolving dependencies...
In order, the following will be built: In order, the following will be built:
- custom-setup-without-cabal-1.0 (lib:custom-setup-without-cabal) (first run) - custom-setup-without-cabal-1.0 (lib:custom-setup-without-cabal) (first run)
cabal-version: 2.0
name: custom-setup-without-cabal name: custom-setup-without-cabal
version: 1.0 version: 1.0
build-type: Custom build-type: Custom
cabal-version: >= 99999
custom-setup custom-setup
setup-depends: base setup-depends: base
......
# cabal new-build # cabal new-build
Warning: <ROOT>/custom-setup/custom-setup.cabal: This package requires at least Cabal version 99999
Resolving dependencies... Resolving dependencies...
In order, the following will be built: In order, the following will be built:
- Cabal-99999 (lib:Cabal) (first run) - Cabal-99999 (lib:Cabal) (first run)
......
cabal-version: 2.0
name: custom-setup name: custom-setup
version: 1.0 version: 1.0
build-type: Custom build-type: Custom
cabal-version: >= 99999
custom-setup custom-setup
setup-depends: base, Cabal >= 99999 setup-depends: base, Cabal >= 99999
......
...@@ -10,7 +10,6 @@ Installing library in <PATH> ...@@ -10,7 +10,6 @@ Installing library in <PATH>
Installed Cabal-99998 Installed Cabal-99998
# cabal sandbox add-source # cabal sandbox add-source
# cabal install # cabal install
Warning: custom-setup/custom-setup.cabal: This package requires at least Cabal version 99999
Resolving dependencies... Resolving dependencies...
Configuring Cabal-99999... Configuring Cabal-99999...
Preprocessing library for Cabal-99999.. Preprocessing library for Cabal-99999..
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment