Skip to content

Commit

Permalink
Temporarily allow hackage-security to use new Cabal.
Browse files Browse the repository at this point in the history
  • Loading branch information
23Skidoo committed Feb 14, 2018
1 parent b2ae4c0 commit d687899
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ build_script:
# - echo "" | ..\cabal install hackage-repo-tool --allow-newer=Cabal,time --constraint="Cabal == 2.3.0.0"
- cd ..\cabal-testsuite
- ghc --make -threaded -i Setup.hs -package Cabal-2.3.0.0
- echo "" | ..\appveyor-retry ..\cabal install --only-dependencies --enable-tests
- echo "" | ..\appveyor-retry ..\cabal install --only-dependencies --enable-tests --allow-newer=hackage-security:Cabal
- Setup configure --user --ghc-option=-Werror --enable-tests
- Setup build
# Must install the test suite, so that our GHCi invocation picks it up
Expand All @@ -44,7 +44,7 @@ build_script:
# - Setup test --show-details=streaming --test-option=--hide-successes
- cd ..\cabal-install
- ghc --make -threaded -i -i. Setup.hs -Wall -Werror
- echo "" | ..\appveyor-retry ..\cabal install --only-dependencies --enable-tests -flib
- echo "" | ..\appveyor-retry ..\cabal install --allow-newer=hackage-security:Cabal --only-dependencies --enable-tests -flib
- ..\cabal configure --user --ghc-option=-Werror --enable-tests -flib
- ..\cabal build
# update package index again, this time for the cabal under test
Expand Down
2 changes: 2 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ package cabal-testsuite
ghc-options: -fno-ignore-asserts
package cabal-install
ghc-options: -fno-ignore-asserts
package hackage-security
allow-newer: Cabal

0 comments on commit d687899

Please sign in to comment.