summary refs log tree commit diff
path: root/distro/packages/base.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-10-25 17:54:17 +0200
committerLudovic Courtès <ludo@gnu.org>2012-10-25 17:54:17 +0200
commite67245597ecc1b204594f15a50db59972c64a47f (patch)
tree6a45b7683082c0e13269679472f12839765c5568 /distro/packages/base.scm
parent60c21332d2092cf16feee5bfc384ca4c94c15a23 (diff)
downloadguix-e67245597ecc1b204594f15a50db59972c64a47f.tar.gz
distro: ncurses: Don't patch shebangs.
* distro/packages/base.scm (ncurses): Pass #:patch-shebangs? #f.
Diffstat (limited to 'distro/packages/base.scm')
-rw-r--r--distro/packages/base.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/distro/packages/base.scm b/distro/packages/base.scm
index f17dd44d16..7bd211577c 100644
--- a/distro/packages/base.scm
+++ b/distro/packages/base.scm
@@ -807,7 +807,6 @@ used in the GNU system including the GNU/Linux variant.")
      (home-page "http://gcc.gnu.org/"))))
 
 (define-public ncurses
-  ;; FIXME: `ncurses-config' retains a ref on bash
   (let ((post-install-phase
          '(lambda* (#:key outputs #:allow-other-keys)
             (let ((out (assoc-ref outputs "out")))
@@ -867,7 +866,11 @@ used in the GNU system including the GNU/Linux variant.")
            #:tests? #f                            ; no "check" target
            #:phases (alist-cons-after 'install 'post-install
                                       ,post-install-phase
-                                      %standard-phases)))
+                                      %standard-phases)
+
+           ;; The `ncursesw5-config' has a #!/bin/sh that we don't want to
+           ;; patch, to avoid retaining a reference to the build-time Bash.
+           #:patch-shebangs? #f))
         ((system cross-system)
          (arguments cross-system))))
      (self-native-input? #t)