summaryrefslogtreecommitdiff
path: root/guix/gexp.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-03-31 11:54:12 +0200
committerLudovic Courtès <ludo@gnu.org>2021-03-31 11:54:12 +0200
commitbfd17ecddd12d8098e2cbd4b38f2ae7c2eeed1ce (patch)
tree21c060df2bad8188ced4cbf1980018c03fc885a9 /guix/gexp.scm
parent2eafeb2f3d661061bc412c3f27c90202e4532532 (diff)
gexp: 'compiled-modules' honors extensions.
Fixes a regression introduced in 2eafeb2f3d661061bc412c3f27c90202e4532532 whereby extensions would not be added as inputs of the resulting derivation. * guix/gexp.scm (compiled-modules): Append EXTENSIONS to the second argument of 'gexp-with-hidden-inputs'.
Diffstat (limited to 'guix/gexp.scm')
-rw-r--r--guix/gexp.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/gexp.scm b/guix/gexp.scm
index 77ef2a4fb8..3d8c2b9341 100644
--- a/guix/gexp.scm
+++ b/guix/gexp.scm
@@ -1764,7 +1764,8 @@ TARGET, a GNU triplet."
(load-from-directory ".")
(process-directory "." (ungexp output) 0)))
- (list (gexp-input modules))))
+ (append (map gexp-input extensions)
+ (list (gexp-input modules)))))
(gexp->derivation name build
#:script-name "compile-modules"