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.
This commit is contained in:
Ludovic Courtès 2015-05-01 22:06:50 +02:00
parent 16142b3c14
commit 2d51666bd0
1 changed files with 2 additions and 1 deletions

View File

@ -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))