diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-05-28 18:14:37 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-06-01 15:20:54 +0200 |
commit | 838e17d8050236a6d3ffde991fb0035412eb3046 (patch) | |
tree | f517ba418a8da54692260bef557a547688d3c0ae /po | |
parent | ccc951cab3172adfdaf6fd2dfa8f8cdb98358a69 (diff) | |
download | guix-838e17d8050236a6d3ffde991fb0035412eb3046.tar.gz |
gexp: Add 'with-extensions'.
* guix/gexp.scm (<gexp>)[extensions]: New field. (gexp-attribute): New procedure. (gexp-modules): Write in terms of 'gexp-attribute'. (gexp-extensions): New procedure. (gexp->derivation): Add #:effective-version. [extension-flags]: New procedure. Honor extensions of EXP. (current-imported-extensions): New syntax parameter. (with-extensions): New macro. (gexp): Honor CURRENT-IMPORTED-EXTENSIONS. (compiled-modules): Add #:extensions and honor it. (load-path-expression): Likewise. (gexp->script, gexp->file): Honor extensions. * tests/gexp.scm (%extension-package): New variable. ("gexp-extensions & ungexp") ("gexp-extensions & ungexp-splicing") ("gexp-extensions and literal Scheme object") ("gexp->derivation & with-extensions") ("program-file & with-extensions"): New tests. * doc/guix.texi (G-Expressions): Document 'with-extensions'.
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions