summaryrefslogtreecommitdiff
path: root/guix/build-system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-05-01 22:06:50 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-02 22:16:06 +0200
commit2d51666bd0eee238b70e97f61ad6ce4b958d7362 (patch)
tree813b7b01526d712b14020419eda146475839f348 /guix/build-system
parent16142b3c14b4d913fd941a96fff12d598cb4a1d6 (diff)
build-system/gnu: 'dist-package' preserves the package's native inputs.
* guix/build-system/gnu.scm (dist-package)[native-inputs]: Preserve P's native-inputs.
Diffstat (limited to 'guix/build-system')
-rw-r--r--guix/build-system/gnu.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build-system/gnu.scm b/guix/build-system/gnu.scm
index a383c8c75f..2520224931 100644
--- a/guix/build-system/gnu.scm
+++ b/guix/build-system/gnu.scm
@@ -204,7 +204,8 @@ runs `make distcheck' and whose result is one or more source tarballs."
;; Add autotools & co. as inputs.
(let ((ref (lambda (module var)
(module-ref (resolve-interface module) var))))
- `(("autoconf" ,(ref '(gnu packages autotools) 'autoconf))
+ `(,@(package-native-inputs p)
+ ("autoconf" ,(ref '(gnu packages autotools) 'autoconf))
("automake" ,(ref '(gnu packages autotools) 'automake))
("libtool" ,(ref '(gnu packages autotools) 'libtool))
("gettext" ,(ref '(gnu packages gettext) 'gnu-gettext))