aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-06-25 00:06:31 +0200
committerLudovic Courtès <ludo@gnu.org>2013-06-25 00:06:31 +0200
commitac5c1cec868b3a3a0f7bc4b06f101c9913361130 (patch)
treec77f2cc27481a616a60f919cb55a6a7684df40af
parent1e4310f1f269d26f7129e1bae167c8d8b096ea10 (diff)
downloadgnu-guix-ac5c1cec868b3a3a0f7bc4b06f101c9913361130.tar
gnu-guix-ac5c1cec868b3a3a0f7bc4b06f101c9913361130.tar.gz
build-system/trivial: Don't bind `%target' in the builder.
* guix/build-system/trivial.scm (trivial-cross-build): Don't bind `%target' here since this causes problem when BUILDER contains (use-modules ...) clauses, and can be achieved differently anyway.
-rw-r--r--guix/build-system/trivial.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/guix/build-system/trivial.scm b/guix/build-system/trivial.scm
index 85a3c697e3..3c5031c4bd 100644
--- a/guix/build-system/trivial.scm
+++ b/guix/build-system/trivial.scm
@@ -53,8 +53,7 @@ ignored."
outputs guile system builder (modules '())
search-paths native-search-paths)
"Like `trivial-build', but in a cross-compilation context."
- (build-expression->derivation store name system
- `(let ((%target ,target)) ,builder)
+ (build-expression->derivation store name system builder
(append native-inputs inputs)
#:outputs outputs
#:modules modules