guix/doc
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 doc: Update dot graphs. 2016-12-17 14:46:42 +01:00
contributing.fr.texi gnu: doc: Add French documentation. 2018-04-19 21:32:07 +02:00
contributing.texi doc: Add tips for Vim users. 2018-04-27 18:45:02 +02:00
environment-gdb.scm doc: Add 'guix environment' examples. 2015-06-29 23:08:36 +02:00
fdl-1.3.texi
guix.fr.texi gnu: doc: Add French documentation. 2018-04-19 21:32:07 +02:00
guix.texi gexp: Add 'with-extensions'. 2018-06-01 15:20:54 +02:00
htmlxref.cnf doc: htmlxref: Fix link to Emacs-Guix manual. 2017-05-30 18:30:39 +03:00
local.mk build: Use only one domain for guix-manual. 2018-04-29 21:42:14 +02:00
package-hello.scm doc: Use the recommended Scheme format. 2015-09-14 23:10:58 +02:00