From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#31581: `guix system` requires guile-json? Date: Tue, 29 May 2018 18:30:03 +0200 Message-ID: <871sduxw50.fsf@gnu.org> References: <20180524170042.GA17040@jasmine.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNhWc-0000RY-5P for bug-guix@gnu.org; Tue, 29 May 2018 12:31:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNhWY-0004qz-Fe for bug-guix@gnu.org; Tue, 29 May 2018 12:31:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46313) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNhWY-0004qi-Cj for bug-guix@gnu.org; Tue, 29 May 2018 12:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fNhWY-00013u-7M for bug-guix@gnu.org; Tue, 29 May 2018 12:31:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <20180524170042.GA17040@jasmine.lan> (Leo Famulari's message of "Thu, 24 May 2018 13:00:42 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 31581-done@debbugs.gnu.org Hello, Leo Famulari 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=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 > guix: system: command not found=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 > 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=E2=80=99s a recent regression. Fixed in 201f2c87693f0f26bb8d00dedc49060d5da43e1f. Thanks! Ludo=E2=80=99.