diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-07-26 23:48:03 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-07-26 23:50:12 +0200 |
commit | 2e8cabb8d630a8423e2e5a3bf150c1c0310b945d (patch) | |
tree | 246681e13528c29ef1ff9e2f30283ff043f7cb83 /tests/store-database.scm | |
parent | 2cc5ec7f0d64e9e94f6ae637e1f9573d4b948f0a (diff) | |
download | guix-2e8cabb8d630a8423e2e5a3bf150c1c0310b945d.tar guix-2e8cabb8d630a8423e2e5a3bf150c1c0310b945d.tar.gz |
gexp: 'program-file' honors the current system and cross-compilation target.
Fixes <https://bugs.gnu.org/36813>.
Reported by Jakob L. Kreuze <zerodaysfordays.sdf.org@sdf.org>.
* guix/gexp.scm (program-file-compiler): Pass #:system and #:target to
'gexp->script'.
(load-path-expression): Add #:system and #:target and honor them.
(gexp->script): Likewise.
* tests/gexp.scm ("program-file #:system"): New test.
* doc/guix.texi (G-Expressions): Adjust accordingly.
Diffstat (limited to 'tests/store-database.scm')
0 files changed, 0 insertions, 0 deletions