summary refs log tree commit diff
path: root/gnu/packages/package-management.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-10-30 23:06:06 +0100
committerLudovic Courtès <ludo@gnu.org>2016-10-30 23:14:27 +0100
commita7db8540a712b039aa518bfc4c58e7a6ce823858 (patch)
tree84ca0d0c1f8664c83661fa6145ff6bec9672d259 /gnu/packages/package-management.scm
parentffba9d598e83237e77287c4dd2be709c671d2e1e (diff)
downloadguix-a7db8540a712b039aa518bfc4c58e7a6ce823858.tar.gz
gnu: guix: Always depend on the development dependencies.
Suggested by Chris Marusich <cmmarusich@gmail.com> at
<https://lists.gnu.org/archive/html/guix-devel/2016-10/msg00425.html>.

* gnu/packages/package-management.scm (guix-0.11.0)[native-inputs]: Add
Autoconf, Automake, Gettext, Texinfo, Graphviz, and Help2man.
(guix-devel)[native-inputs]: Remove.
Diffstat (limited to 'gnu/packages/package-management.scm')
-rw-r--r--gnu/packages/package-management.scm22
1 files changed, 12 insertions, 10 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index b437599db5..9759fc71b9 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -159,7 +159,17 @@
 
                        #t))))))
     (native-inputs `(("pkg-config" ,pkg-config)
-                     ("emacs" ,emacs-minimal)))   ;for guix.el
+                     ("emacs" ,emacs-minimal)     ;for guix.el
+
+                     ;; XXX: Keep the development inputs here even though
+                     ;; they're unnecessary, just so that 'guix environment
+                     ;; guix' always contains them.
+                     ("autoconf" ,(autoconf-wrapper))
+                     ("automake" ,automake)
+                     ("gettext" ,gnu-gettext)
+                     ("texinfo" ,texinfo)
+                     ("graphviz" ,graphviz)
+                     ("help2man" ,help2man)))
     (inputs
      (let ((boot-guile (lambda (arch hash)
                          (origin
@@ -243,15 +253,7 @@ the Nix package manager.")
                             (chmod po #o666))
                           (find-files "." "\\.po$"))
 
-                (zero? (system* "sh" "bootstrap"))))))))
-      (native-inputs
-       `(("autoconf" ,(autoconf-wrapper))
-         ("automake" ,automake)
-         ("gettext" ,gnu-gettext)
-         ("texinfo" ,texinfo)
-         ("graphviz" ,graphviz)
-         ("help2man" ,help2man)
-         ,@(package-native-inputs guix-0.11.0))))))
+                (zero? (system* "sh" "bootstrap")))))))))))
 
 (define-public guix guix-devel)