diff options
author | Ben Gamari <ben@well-typed.com> | 2023-01-12 03:55:31 +0000 |
---|---|---|
committer | Ben Gamari <ben@well-typed.com> | 2023-01-12 03:55:31 +0000 |
commit | 20f0c97d4a6c45077b55e504ebf48b32a5d32a50 (patch) | |
tree | 83009804c186e87cc59282950046ef9a2552022b | |
parent | 3bbfadf4c76b99eff0f4d60bc992cafdebc0991e (diff) | |
download | haskell-wip/darwin-ci.tar.gz |
gitlab-ci: Pass -w to cabal updatewip/darwin-ci
Due to cabal#8447, cabal-install 3.8.1.0 requires a compiler to run
`cabal update`.
-rwxr-xr-x | .gitlab/ci.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab/ci.sh b/.gitlab/ci.sh index 87f9b96525..d9f853cdcd 100755 --- a/.gitlab/ci.sh +++ b/.gitlab/ci.sh @@ -240,7 +240,9 @@ function set_toolchain_paths() { } function cabal_update() { - run "$CABAL" update --index="$HACKAGE_INDEX_STATE" + # In principle -w shouldn't be necessary here but with + # cabal-install 3.8.1.0 it is, due to cabal#8447. + run "$CABAL" update -w "$GHC" --index="$HACKAGE_INDEX_STATE" } |