Subject: bug#25955: closed (Re: bug#25955: [PATCH] guix: Only attempt to build json builder if json is available.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 02 Jun 2017 16:25:02 +0000

Your bug report

#25955: [PATCH] guix: Only attempt to build json builder if json is available.

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].

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

Subject: Re: bug#25955: [PATCH] guix: Only attempt to build json builder if json is available.
From: [email-masked] (Ludovic Courtès)
To: John Darrington <[email-masked]>
Cc: [email-masked]
Date: Fri, 02 Jun 2017 18:24:18 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

John Darrington <[email-masked]> skribis:

> * guix/import/stackage.scm: avoid loading the json module.

This was fixed later in commit 37fd9567710b0fc0d7b083f8a1eba3528597c2f6.

Thanks,
Ludo’.

Subject: [PATCH] guix: Only attempt to build json builder if json is available.
From: John Darrington <[email-masked]>
To: [email-masked]
Cc: John Darrington <[email-masked]>
Date: Fri, 3 Mar 2017 18:43:27 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* guix/import/stackage.scm: avoid loading the json module.
---
 guix/import/stackage.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/import/stackage.scm b/guix/import/stackage.scm
index 5b25adc..c8f195a 100644
--- a/guix/import/stackage.scm
+++ b/guix/import/stackage.scm
@@ -23,7 +23,6 @@
   #:use-module (srfi srfi-26)
   #:use-module (srfi srfi-34)
   #:use-module (srfi srfi-35)
-  #:use-module (guix import json)
   #:use-module (guix import hackage)
   #:use-module (guix memoization)
   #:use-module (guix packages)
@@ -31,6 +30,8 @@
   #:export (stackage->guix-package
             %stackage-updater))
 
+(module-autoload! (current-module) '(guix import json) '(json))
+
 
 ;;;
 ;;; Stackage info fetcher and access functions
-- 
2.1.4