diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-02-02 13:09:04 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-02-02 14:14:39 -0500 |
commit | a0bd27f5c0e086fc8dd38cae88074ef3f18bb85f (patch) | |
tree | 2f45eb4d430bdc72f0a4981bcebbf9b8cdc54f00 | |
parent | 9e9346dc83ff585db9a721cab46e46713c597da1 (diff) | |
download | guix-patches-a0bd27f5c0e086fc8dd38cae88074ef3f18bb85f.tar guix-patches-a0bd27f5c0e086fc8dd38cae88074ef3f18bb85f.tar.gz |
gexp: computed-file: Honor %guile-for-build.
* guix/gexp.scm (computed-file): Set the default value of the #:guile argument
to that of the %guile-for-build parameter.
-rw-r--r-- | guix/gexp.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/gexp.scm b/guix/gexp.scm index 5f92174a2c..bf75d1f8df 100644 --- a/guix/gexp.scm +++ b/guix/gexp.scm @@ -584,7 +584,8 @@ This is the declarative counterpart of 'text-file'." (options computed-file-options)) ;list of arguments (define* (computed-file name gexp - #:key guile (local-build? #t) (options '())) + #:key (guile (%guile-for-build)) + (local-build? #t) (options '())) "Return an object representing the store item NAME, a file or directory computed by GEXP. When LOCAL-BUILD? is #t (the default), it ensures the corresponding derivation is built locally. OPTIONS may be used to pass |