gexp: 'compiled-modules' honors extensions.

Fixes a regression introduced in
2eafeb2f3d 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 @@ (define mkdir-p
(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"