summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/scripts/pull.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm
index c2ea0e3d97..919ef2d467 100644
--- a/guix/scripts/pull.scm
+++ b/guix/scripts/pull.scm
@@ -47,6 +47,10 @@ files."
     #~(begin
         (use-modules (guix build pull))
 
+        (let ((json (string-append #$guile-json "/share/guile/site/2.0")))
+          (set! %load-path (cons json %load-path))
+          (set! %load-compiled-path (cons json %load-compiled-path)))
+
         (build-guix #$output #$tarball
 
                     ;; XXX: This is not perfect, enabling VERBOSE? means