summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-07-16 15:48:28 +0200
committerLudovic Courtès <ludo@gnu.org>2014-07-16 15:54:47 +0200
commitdc254e0568068ddb25c631b1d595dc3af0add112 (patch)
tree63ea0ee0c8822eef9aaf68b0e58cab255c0eb507
parentf2cdcafbc1f61af032511aac37b5836784b6c52e (diff)
downloadguix-dc254e0568068ddb25c631b1d595dc3af0add112.tar.gz
gexp: Build 'gexp->file' derivations locally.
* guix/gexp.scm (gexp->file): Add #:local-build? argument.
-rw-r--r--guix/gexp.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/gexp.scm b/guix/gexp.scm
index 7d6a882787..260118affa 100644
--- a/guix/gexp.scm
+++ b/guix/gexp.scm
@@ -377,7 +377,8 @@ its search path."
                     (gexp
                      (call-with-output-file (ungexp output)
                        (lambda (port)
-                         (write '(ungexp exp) port))))))
+                         (write '(ungexp exp) port))))
+                    #:local-build? #t))