mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
0bb9929eaa
* guix/gexp.scm (<gexp>)[modules]: New field. (gexp-modules): New procedure. (gexp->derivation): Use it and append the result to %MODULES. Update docstring to mark #:modules as deprecated. (current-imported-modules, with-imported-modules): New macros. (gexp): Pass CURRENT-IMPORTED-MODULES as second argument to 'gexp'. (gexp->script): Use and honor 'gexp-modules'; define '%modules'. * tests/gexp.scm ("gexp->derivation & with-imported-modules") ("gexp->derivation & nested with-imported-modules") ("gexp-modules & ungexp", "gexp-modules & ungexp-splicing"): New tests. ("program-file"): Use 'with-imported-modules'. Remove #:modules argument to 'program-file'. * doc/guix.texi (G-Expressions): Document 'with-imported-modules'. Mark #:modules of 'gexp->derivation' as deprecated. * emacs/guix-devel.el: Add syntax for 'with-imported-modules'. (guix-devel-keywords): Add it. * .dir-locals.el: Likewise. |
||
---|---|---|
.. | ||
guix-about.el | ||
guix-backend.el | ||
guix-base.el | ||
guix-buffer.el | ||
guix-build-log.el | ||
guix-command.el | ||
guix-config.el.in | ||
guix-devel.el | ||
guix-emacs.el | ||
guix-entry.el | ||
guix-external.el | ||
guix-geiser.el | ||
guix-guile.el | ||
guix-help-vars.el | ||
guix-helper.scm.in | ||
guix-history.el | ||
guix-hydra-build.el | ||
guix-hydra-jobset.el | ||
guix-hydra.el | ||
guix-info.el | ||
guix-init.el | ||
guix-license.el | ||
guix-list.el | ||
guix-location.el | ||
guix-main.scm | ||
guix-messages.el | ||
guix-pcomplete.el | ||
guix-popup.el | ||
guix-prettify.el | ||
guix-profiles.el | ||
guix-read.el | ||
guix-ui-generation.el | ||
guix-ui-license.el | ||
guix-ui-location.el | ||
guix-ui-package.el | ||
guix-ui-system-generation.el | ||
guix-ui.el | ||
guix-utils.el | ||
local.mk |