summary refs log tree commit diff
path: root/gnu/packages/commencement.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-06-01 23:22:03 +0200
committerLudovic Courtès <ludo@gnu.org>2017-06-02 17:22:06 +0200
commit704243e0c6ec5ac86e2f45aaa469717e60b89124 (patch)
treeba56196c7ad52d7721e2dc0c5ded5b7a178ab282 /gnu/packages/commencement.scm
parent3f65c190d23296e7e718c3deff413e8beb61d8ba (diff)
downloadguix-704243e0c6ec5ac86e2f45aaa469717e60b89124.tar.gz
gnu: commencement: 'bash-final' inherits from 'bash-minimal'.
* gnu/packages/commencement.scm (bash-final): Inherit from BASH-MINIMAL
instead of BASH.
Diffstat (limited to 'gnu/packages/commencement.scm')
-rw-r--r--gnu/packages/commencement.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 4f39a3fc66..f672ef45eb 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -800,13 +800,14 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
 
 (define bash-final
   ;; Link with `-static-libgcc' to make sure we don't retain a reference
-  ;; to the bootstrap GCC.
+  ;; to the bootstrap GCC.  Use "bash-minimal" to avoid an extra dependency
+  ;; on Readline and ncurses.
   (let ((bash (package
-                (inherit bash)
+                (inherit bash-minimal)
                 (arguments
                  `(#:disallowed-references
                    ,(assoc-ref %boot3-inputs "coreutils&co")
-                   ,@(package-arguments bash))))))
+                   ,@(package-arguments bash-minimal))))))
     (package-with-bootstrap-guile
      (package-with-explicit-inputs (static-libgcc-package bash)
                                    %boot3-inputs