me
/
guix
Archived
1
0
Fork 0

gexp: 'gexp->script' uses #:guile also as the guile-for-build.

Previously 'gexp->script' would unconditionally use the
default #:guile-for-build value of 'gexp->derivation'.

* guix/gexp.scm (gexp->script): Pass #:guile to 'load-path-expression'.
Pass #:guile-for-build to 'gexp->derivation'.
master
Ludovic Courtès 2021-03-24 22:42:00 +01:00
parent b18e83b10d
commit 9b8632fcec
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 5 additions and 1 deletions

View File

@ -1885,10 +1885,13 @@ imported modules in its search path. Look up EXP's modules in MODULE-PATH."
(set-load-path
(load-path-expression (gexp-modules exp)
module-path
#:guile guile
#:extensions
(gexp-extensions exp)
#:system system
#:target target)))
#:target target))
(guile-for-build
(lower-object guile system #:target #f)))
(gexp->derivation name
(gexp
(call-with-output-file (ungexp output)
@ -1911,6 +1914,7 @@ imported modules in its search path. Look up EXP's modules in MODULE-PATH."
#:system system
#:target target
#:module-path module-path
#:guile-for-build guile-for-build
;; These derivations are not worth offloading or
;; substituting.