guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25955: [PATCH] guix: Only attempt to build json builder if json is a


From: Ludovic Courtès
Subject: bug#25955: [PATCH] guix: Only attempt to build json builder if json is available.
Date: Mon, 13 Mar 2017 14:16:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

John Darrington <address@hidden> skribis:

> * 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))

We don’t do that for any of the other (guix import …) modules that uses
(guix import json).  What problem does it cause?

Thanks,
Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]