[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Packaging GHC 9.2.4 -- with no prior experience

From: Justin Garcia
Subject: Packaging GHC 9.2.4 -- with no prior experience
Date: Mon, 17 Oct 2022 21:32:40 +0800

Hi all!

I've recently come to like Guix's approach coming from Nix, and would
definitely love to be able to use it within my development spaces.

I'd love to be able to package the latest versions of PureScript compiler ( for Guix, although one blocker is
that the latest GHC available is 9.0, whereas we currently build PureScript
against GHC 9.2.3 exclusively; eventually, that'll get bumped up to 9.2.4,
and then 9.4.2 but that will be in the following months.

With no prior experience, I decided to try and write a package declaration
for GHC 9.2.4, which can be found here:

Note that unlike GHC 9.0, this uses the Hadrian build system packaged
alongside GHC instead of Make, which is slowly being phased out by the GHC
development team.

I got pretty far this weekend, although the package declaration fails
currently during the `validate-runpath` phase, which I assume is because of
the `install` command that I used. Given that I'm on a pretty slow machine
currently, it's rather difficult to iterate when I have to wait 1h~1h30m
between builds.

I'd greatly appreciate it if anyone wants to take a look.

Kind regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]