on master help sign in
Fix ghc head version download URL
4fa2d54Harendra Kumar
.github/workflows/haskell.yml+6−1
@@ -185,7 +185,12 @@ jobs:
185 chmod +x ./ghcup
185 chmod +x ./ghcup
186 if test "$GHCVER" = "head"
186 if test "$GHCVER" = "head"
187 then
187 then
188− ./ghcup install ghc -u https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/master/raw/ghc-x86_64-deb10-linux-integer-simple.tar.xz?job=validate-x86_64-linux-deb10-integer-simple head
188+ # The URL may change, to find a working URL go to https://gitlab.haskell.org/ghc/ghc/-/jobs/
189+ # Find a debian10 job, click on a passed/failed job, at the
190+ # end of the output you will find the tar.xz name, put that after
191+ # "raw/", and put the job name after "job=".
192+ # Also see https://github.com/mpickering/ghc-artefact-nix/blob/master/gitlab-artifact.nix
193+ ./ghcup install ghc -u https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/master/raw/ghc-x86_64-linux-deb10-int_native-validate.tar.xz?job=x86_64-linux-deb10-int_native-validate head
189 else
194 else
190 ./ghcup install ghc $GHCVER
195 ./ghcup install ghc $GHCVER
191 fi
196 fi