downloading ghc head version

Hi, I am trying to set up a CI for ghc head version. I am not sure what is the official supported method to install a nightly/head version of GHC. haskell/actions/setup on github seems to support it via ghcup. But it almost always fails, I saw it succeeding once till now. It tries to download it from the following URL, but fails with 404 not found: downloading: https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/master/raw/ghc-x86_64-de... I tried this link in the browser and I get the same error. Is that the right way to install it? If not, can someone suggest a reliable way to get the head version, other than building it myself? Thanks, Harendra

It seems the latest artifacts download link
(https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/...) at GHC
gitlab is not working.
If this is not the right place to ask this, can someone point me to
the right place?
-harendra
On Wed, 26 Jan 2022 at 18:38, Harendra Kumar
Hi,
I am trying to set up a CI for ghc head version. I am not sure what is the official supported method to install a nightly/head version of GHC. haskell/actions/setup on github seems to support it via ghcup. But it almost always fails, I saw it succeeding once till now. It tries to download it from the following URL, but fails with 404 not found:
downloading: https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/master/raw/ghc-x86_64-de...
I tried this link in the browser and I get the same error. Is that the right way to install it? If not, can someone suggest a reliable way to get the head version, other than building it myself?
Thanks, Harendra

Hey Harendra,
How do you feel about Nix? This simple one-command-away way always worked
for me great:
https://github.com/mpickering/ghc-artefact-nix
(Modulo a caveat with the newer versions of Nix
https://github.com/mpickering/ghc-artefact-nix/issues/16 which is easily
fixed by changing the command in README from `nix run` to `nix shell`).
Interestingly, this Nix expression seems to work okay currently. It uses
fedora builds, not deb ones. But when I tried to reconstruct the link it is
supposed to use, I also couldn't download anything there:
https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/master/raw/ghc-x86_64-fe...
--
Best, Artem
On Mon, 31 Jan 2022 at 17:43, Harendra Kumar
It seems the latest artifacts download link (https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/...) at GHC gitlab is not working.
If this is not the right place to ask this, can someone point me to the right place?
-harendra
On Wed, 26 Jan 2022 at 18:38, Harendra Kumar
wrote: Hi,
I am trying to set up a CI for ghc head version. I am not sure what is the official supported method to install a nightly/head version of GHC. haskell/actions/setup on github seems to support it via ghcup. But it almost always fails, I saw it succeeding once till now. It tries to download it from the following URL, but fails with 404 not found:
downloading:
https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/master/raw/ghc-x86_64-de...
I tried this link in the browser and I get the same error. Is that the right way to install it? If not, can someone suggest a reliable way to get the head version, other than building it myself?
Thanks, Harendra
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
participants (2)
-
Artem Pelenitsyn
-
Harendra Kumar