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.
This commit is contained in:
Ludovic Courtès 2014-09-30 10:11:38 +02:00
parent 8505493266
commit 6d7328b2f1

View file

@ -47,6 +47,10 @@ (define builder
#~(begin #~(begin
(use-modules (guix build pull)) (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 (build-guix #$output #$tarball
;; XXX: This is not perfect, enabling VERBOSE? means ;; XXX: This is not perfect, enabling VERBOSE? means