unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Guile 3 migration plan
@ 2020-01-16 10:08 Ludovic Courtès
  2020-01-16 13:57 ` zimoun
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Ludovic Courtès @ 2020-01-16 10:08 UTC (permalink / raw)
  To: Guix-devel

Hello Guix!

Today is Guile 3 day, a day to celebrate, woohoo!  \o/

How will Guix migrate to Guile 3?  That’s a threefold process:

  1. We must first migrate packages.  I propose to rename “guile-next”
     to “guile” today, such that “guix install guile” will now install
     Guile 3 (no mass rebuild involved: the “default” Guile remains
     2.2.)

     The downside is that if you run “guix install guile guile-json”,
     you’ll get Guile 3 with Guile-JSON for 2.2; instead, you have to
     explicitly select “guile3.0-json”.

     I propose renaming all the “guile3.0-” packages to “guile-”, and
     all the “guile-” packages to “guile2.2-” as a second step, which
     will address this issue.  This could be done within a few days or
     weeks.

  2. We must be able to run Guix itself on Guile 3.  This is already
     possible if you add “3.0” to the ‘GUILE_PKG’ invocation in
     ‘configure.ac’, but there are still a few test failures that I’ve
     been working on.  Almost all of them relate to the use of ‘@@’ and
     ‘mock’, which do not work with Guile 3 “declarative modules”.

     In many cases, it’s an opportunity to clean up our tests; see for
     example 4aea90b1876179aab8d603a42533a6bdf97ccd3c and the preceding
     commit.  It should be possible to be done real soon!

     Once we’re done, we can change (guix self) so that ‘guix pull’
     pulls Guix on Guile 3.

  3. Change ‘default-guile’ to point to Guile 3 in ‘core-updates’, and
     switch all the packages that consume .go files coming from
     ‘with-imported-modules’ to Guile 3, in particular ‘shepherd’ and
     ‘mcron’.

Thoughts?

You can celebrate Guile 3 day by helping out any of these!  Let’s
synchronize here and on IRC!  :-)

Ludo.’

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-01-28 10:26 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-16 10:08 Guile 3 migration plan Ludovic Courtès
2020-01-16 13:57 ` zimoun
2020-01-16 14:57 ` Efraim Flashner
2020-01-16 17:23   ` Ludovic Courtès
2020-01-16 17:58 ` Vagrant Cascadian
2020-01-17 21:43   ` Ludovic Courtès
2020-01-17 21:48 ` Ludovic Courtès
2020-01-19 21:29   ` Ludovic Courtès
2020-01-20 17:11     ` Ludovic Courtès
2020-01-23 16:39       ` Ludovic Courtès
2020-01-23 22:25         ` Ricardo Wurmus
2020-01-24  9:29           ` Ludovic Courtès
2020-01-25 17:37             ` Ludovic Courtès
2020-01-25 19:03               ` Ricardo Wurmus
2020-01-28 10:26                 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).