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'.
This commit is contained in:
Ludovic Courtès 2021-03-31 11:54:12 +02:00
parent 2eafeb2f3d
commit bfd17ecddd
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -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"