diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-09-30 10:11:38 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-09-30 10:11:45 +0200 |
commit | 6d7328b2f19d2a13d18e34cc875f6c8b5218ac1d (patch) | |
tree | 6c91b3be0e620a99be47e6fa67325680b2ff8de8 /guix/scripts | |
parent | 85054932667d57224dde1d18c381d7d7c0a95dd4 (diff) | |
download | gnu-guix-6d7328b2f19d2a13d18e34cc875f6c8b5218ac1d.tar gnu-guix-6d7328b2f19d2a13d18e34cc875f6c8b5218ac1d.tar.gz |
pull: Add dependency on Guile-JSON.
Reported by Alex Sassmannshausen <alex.sassmannshausen@gmail.com>.
* guix/scripts/pull.scm (unpack): Add Guile-JSON to %load-path and
%load-compiled-path.
Diffstat (limited to 'guix/scripts')
-rw-r--r-- | guix/scripts/pull.scm | 4 |
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 |