[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31581: `guix system` requires guile-json?
From: |
Ludovic Courtès |
Subject: |
bug#31581: `guix system` requires guile-json? |
Date: |
Tue, 29 May 2018 18:30:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
Leo Famulari <address@hidden> 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’.