From 04b2f3dd80aa4a138e93a6a4a209c1beac5fca88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 16 Jun 2021 23:52:42 +0200 Subject: packages: Add 'modify-inputs'. * guix/packages.scm (inputs-sans-labels, replace-input): New procedures. (prepend, replace, modify-inputs): New macros. * doc/guix.texi (Defining Package Variants): Document 'modify-inputs'. * dir-locals.el: Add 'modify-inputs' and its keywords. --- .dir-locals.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.dir-locals.el') diff --git a/.dir-locals.el b/.dir-locals.el index 378071ea67..8cddfd7952 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -57,6 +57,12 @@ (eval . (put 'substitute* 'scheme-indent-function 1)) (eval . (put 'match-record 'scheme-indent-function 2)) + ;; 'modify-inputs' and its keywords. + (eval . (put 'modify-inputs 'scheme-indent-function 1)) + (eval . (put 'replace 'scheme-indent-function 1)) + (eval . (put 'prepend 'scheme-indent-function 2)) + (eval . (put 'append 'scheme-indent-function 2)) + ;; 'modify-phases' and its keywords. (eval . (put 'modify-phases 'scheme-indent-function 1)) (eval . (put 'replace 'scheme-indent-function 1)) -- cgit v1.2.3