diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-07-14 13:12:50 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-07-14 15:57:39 +0200 |
commit | aaf9aa4824a8c30e5efc869d0e7dc34754892934 (patch) | |
tree | 6a67221f28f55e6ec0220e4bced5ac36897f887f /gnu | |
parent | f54852be22c29a0d5b174d15ef6189c57cab2017 (diff) | |
download | guix-aaf9aa4824a8c30e5efc869d0e7dc34754892934.tar.gz guix-aaf9aa4824a8c30e5efc869d0e7dc34754892934.zip |
packages: Define this-package-input and this-package-native-input.
These macros are intended to be used in build phases.
More precisely, (assoc-ref %build-inputs "input") can be
replaced by #$(this-package-input "input") or #+(this-package-native-input
"native-input") as appropriate.
* guix/packages.scm
(package-input, package-native-input): New (unexported) procedures.
(this-package-input, this-package-native-input): New macros.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions