diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-04-06 23:03:26 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-04-08 00:05:48 +0200 |
commit | b30b838d5055e36be19d030db28838fec4474d98 (patch) | |
tree | 9348f47514b74687ea06e6263d62183c20259128 /bootstrap | |
parent | a7f15c9ecffc1762f5886fb5a2a14490e2994c8c (diff) | |
download | guix-b30b838d5055e36be19d030db28838fec4474d98.tar.gz guix-b30b838d5055e36be19d030db28838fec4474d98.zip |
gexp: Add #:guile parameter to ‘gexp->file’ and ‘scheme-file’.
This brings ‘gexp->file’ in line with its documentation and mirrors
what’s done for ‘gexp->script’ and ‘program-file’.
Fixes <https://issues.guix.gnu.org/69401>.
* guix/gexp.scm (gexp->file): Add #:guile, as was already documented.
(<scheme-file>)[guile]: New field.
(scheme-file): Add #:guile.
(scheme-file-compiler): Honor ‘guile’ field.
* tests/gexp.scm ("gexp->file")
("gexp->file + file-append", "gexp->file + #:splice?")
("gexp->file, cross-compilation")
("gexp->file, cross-compilation with default target")
Add #:guile to ‘gexp->file’ calls.
("gexp-modules deletes duplicates")
("gexp->derivation & with-imported-module & computed module")
("gexp->derivation & with-extensions", "scheme-file"): Likewise for
‘scheme-file’ calls.
Change-Id: I47536063d5e411e561ec321e535267e92dd06044
Reported-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I58d653c7fbe65c665bafcbd332ac9b264ddeab64
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions