guix-devel
[Top][All Lists]
Advanced

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

Re: Updating from Go 1.17 to 1.18


From: Ludovic Courtès
Subject: Re: Updating from Go 1.17 to 1.18
Date: Sun, 10 Apr 2022 22:45:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hi,

Pier-Hugues Pellerin <ph@heykimo.com> skribis:

> I am trying to update Go to 1.18, I do have a *working* patch that defines
> a package that inherits from 1.17 and that adjusts the inputs.

Nice!

> However, I have a few questions:
>
> 1. Is inheriting the way to do that? The package's build system appears to
> be the same from 1.17.
> 2. How can I rebuild dependents packages to ensure they are still building
> correctly?
> 3. Anything I should look into or test more for these kinds of packages?

You can define Go 1.18 inheriting from 1.17; that’ll allow us to have
both versions, and eventually we’ll remove the older one.

Note that, to actually migrate Go packages to 1.18, you’ll need to
additionally change this line:

  (define-public go go-1.17)

‘guix refresh -l go@1.17’ shows the “contour” of the set of packages
that currently depend on Go 1.17.  These are all the packages that need
to be rebuilt if you change the line above.  Since that’s a lot of them,
we could set up a dedicated branch and have it built by ci.guix.  We’d
merge it once problems have been resolved.

Does that make sense?

Thanks,
Ludo’.



reply via email to

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