[Git][ghc/ghc][wip/backports-9.0] gitlab-ci: Fix maximum happy version
Ben Gamari
gitlab at gitlab.haskell.org
Mon Nov 30 01:09:46 UTC 2020
Ben Gamari pushed to branch wip/backports-9.0 at Glasgow Haskell Compiler / GHC
Commits:
cf52dbb4 by Ben Gamari at 2020-11-29T20:09:39-05:00
gitlab-ci: Fix maximum happy version
- - - - -
1 changed file:
- .gitlab/ci.sh
Changes:
=====================================
.gitlab/ci.sh
=====================================
@@ -9,7 +9,8 @@ set -e -o pipefail
# Configuration:
hackage_index_state="2020-09-14T19:30:43Z"
-MIN_HAPPY_VERSION="1.20"
+MIN_HAPPY_VERSION="1.19.10"
+MAX_HAPPY_VERSION="1.20"
MIN_ALEX_VERSION="3.2"
TOP="$(pwd)"
@@ -317,7 +318,7 @@ function setup_toolchain() {
cabal update
info "Building happy..."
- $cabal_install happy --constraint="happy>=$MIN_HAPPY_VERSION"
+ $cabal_install happy --constraint="happy>=$MIN_HAPPY_VERSION && <$MAX_HAPPY_VERSION"
info "Building alex..."
$cabal_install alex --constraint="alex>=$MIN_ALEX_VERSION"
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/cf52dbb419ae12d552528d97b716112373979c5b
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/cf52dbb419ae12d552528d97b716112373979c5b
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201129/72168831/attachment-0001.html>
More information about the ghc-commits
mailing list