GNU bug report logs - #31581
`guix system` requires guile-json?

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Thu, 24 May 2018 17:01:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #10 received at 31581-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Leo Famulari <leo <at> famulari.name>
Cc: 31581-done <at> debbugs.gnu.org
Subject: Re: bug#31581: `guix system` requires guile-json?
Date: Tue, 29 May 2018 18:30:03 +0200
Hello,

Leo Famulari <leo <at> famulari.name> skribis:

> Sometime in the past couple months, `./pre-inst-env guix system` stopped
> working for me on distros besides GuixSD. It fails with 'guix: system:
> command not found'.
>
> Using the installed Guix, without pre-inst-env, still works.
>
> ------
> $ ./pre-inst-env guix system vm foo.scm                      
> guix: system: command not found                    
> Try `guix --help' for more information.
> ------
>
> I used my trusty strace and found that it fails when it can't find
> (json). So, I installed guile-json, and now things are good.
>
> I wonder if this can be improved for users on foreign distros.
>
> The manual suggests that the JSON module is required for some of the
> importers, but not for `guix system`. But I see that it is used in (gnu
> system vm (system-docker-image)).

Oh indeed, that’s a recent regression.  Fixed in
201f2c87693f0f26bb8d00dedc49060d5da43e1f.

Thanks!

Ludo’.




This bug report was last modified 6 years and 356 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.