This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
Ludovic Courtès
838e17d805
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'.
|
2018-06-01 15:20:54 +02:00 |
.. |
images
|
…
|
|
contributing.fr.texi
|
…
|
|
contributing.texi
|
…
|
|
environment-gdb.scm
|
…
|
|
fdl-1.3.texi
|
…
|
|
guix.fr.texi
|
…
|
|
guix.texi
|
gexp: Add 'with-extensions'.
|
2018-06-01 15:20:54 +02:00 |
htmlxref.cnf
|
…
|
|
local.mk
|
…
|
|
package-hello.scm
|
…
|
|