downloading ghc head version

Artem Pelenitsyn a.pelenitsyn at gmail.com
Tue Feb 1 02:31:41 UTC 2022


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-fedora33-linux.tar.gz?job=validate-x86_64-linux-fedora33

--
Best, Artem

On Mon, 31 Jan 2022 at 17:43, Harendra Kumar <harendra.kumar at gmail.com>
wrote:

> 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 <harendra.kumar at gmail.com>
> 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-deb9-linux-integer-simple.tar.xz?job=validate-x86_64-linux-deb9-integer-simple
> >
> > 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 at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20220131/6064984b/attachment.html>


More information about the ghc-devs mailing list