guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: build-system/gnu: 'dist-package' preserves the package's native i


From: Ludovic Courtès
Subject: 02/03: build-system/gnu: 'dist-package' preserves the package's native inputs.
Date: Sat, 02 May 2015 20:16:21 +0000

civodul pushed a commit to branch master
in repository guix.

commit 2d51666bd0eee238b70e97f61ad6ce4b958d7362
Author: Ludovic Courtès <address@hidden>
Date:   Fri May 1 22:06:50 2015 +0200

    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.
---
 guix/build-system/gnu.scm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/guix/build-system/gnu.scm b/guix/build-system/gnu.scm
index a383c8c..2520224 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]