Subject: bug#26860: closed (Re: bug#26860: [PATCH] Remove hard dependency on guile-json)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 17 May 2017 13:30:03 +0000

Your bug report

#26860: [PATCH] Remove hard dependency on guile-json

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
26860: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26860
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#26860: [PATCH] Remove hard dependency on guile-json
From: [email-masked] (Ludovic Courtès)
To: Alex Kost <[email-masked]>
Cc: Ricardo Wurmus <[email-masked]>, [email-masked]
Date: Wed, 17 May 2017 15:29:13 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Alex Kost <[email-masked]> skribis:

> 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 <[email-masked]>
> 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'.

After closer inspection, I applied this patch as-is.  It does the same
thing as we did for the other importers, which sounds good to me.

Thanks, and apologies for the delay!

Ludo’.

Subject: [PATCH] Remove hard dependency on guile-json
From: Alex Kost <[email-masked]>
To: [email-masked]
Date: Tue, 09 May 2017 22:53:07 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

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 <[email-masked]>
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'.
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index f6a8f66..8ea4f4b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -159,7 +159,6 @@ MODULES =					\
   guix/scripts/import/gnu.scm			\
   guix/scripts/import/nix.scm			\
   guix/scripts/import/hackage.scm		\
-  guix/scripts/import/stackage.scm		\
   guix/scripts/import/elpa.scm  		\
   guix/scripts/environment.scm			\
   guix/scripts/publish.scm			\
@@ -184,7 +183,8 @@ MODULES +=					\
   guix/import/stackage.scm			\
   guix/scripts/import/crate.scm			\
   guix/scripts/import/gem.scm			\
-  guix/scripts/import/pypi.scm
+  guix/scripts/import/pypi.scm			\
+  guix/scripts/import/stackage.scm
 
 endif
 
-- 
2.10.2