From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8LH7-0006Z2-HJ for guix-patches@gnu.org; Wed, 10 May 2017 02:39:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8LH4-0002hH-Ft for guix-patches@gnu.org; Wed, 10 May 2017 02:39:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60507) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8LH4-0002hD-CC for guix-patches@gnu.org; Wed, 10 May 2017 02:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d8LH4-0005Ar-5k for guix-patches@gnu.org; Wed, 10 May 2017 02:39:02 -0400 Subject: bug#26860: [PATCH] Remove hard dependency on guile-json Resent-Message-ID: References: <87shkdbye4.fsf@gmail.com> From: Ricardo Wurmus In-reply-to: <87shkdbye4.fsf@gmail.com> Date: Wed, 10 May 2017 08:38:37 +0200 Message-ID: <87a86li5ci.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Alex Kost Cc: 26860@debbugs.gnu.org Alex Kost writes: > Hello. Currently, Guix cannot be built without guile-json. The > attached patch fixes it. > >>>From 3a65a2f35b54604327ba69a55381fee0faac18e7 Mon Sep 17 00:00:00 2001 > From: Alex Kost > Date: Tue, 9 May 2017 22:44:19 +0300 > Subject: [PATCH] build: Compile stackage only if 'guile-json' is available. > > This is a followup to commit 3089b5d3f5a31b191b68ce3aa9255b646940b642. > > * Makefile.am (MODULES): Move "guix/scripts/import/stackage.scm" within > 'if HAVE_GUILE_JSON'. Would it not work to autoload the module? “guix/scripts/import/stackage.scm” itself does not require guile json. Something like that is done in commit fad5f5fb8dffb4a1cbe40ee9d31a346b901305d1 (in the unmerged wip-installer branch). -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net