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

View file

@ -204,7 +204,8 @@ (define* (dist-package p source)
;; 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))