gnu: make-bootstrap: Remove duplicate definition of 'bash-static'.

* gnu/packages/make-bootstrap.scm (%bash-static): Remove.
(%static-inputs): Use STATIC-BASH instead of %BASH-STATIC.
This commit is contained in:
Ludovic Courtès 2016-10-13 16:24:30 +02:00
parent c86447f486
commit 3abd66aa0c
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -114,9 +114,6 @@ (define (native-inputs)
(current-source-location)
#:native-inputs native-inputs))
(define %bash-static
(static-package bash-minimal))
(define %static-inputs
;; Packages that are to be used as %BOOTSTRAP-INPUTS.
(let ((coreutils (package (inherit coreutils)
@ -184,7 +181,7 @@ (define %static-inputs
(("-Wl,-export-dynamic") "")))
,phases)))))
(inputs (if (%current-target-system)
`(("bash" ,%bash-static))
`(("bash" ,static-bash))
'()))))
(finalize (compose static-package
package-with-relocatable-glibc)))
@ -200,7 +197,7 @@ (define %static-inputs
("sed" ,sed)
("grep" ,grep)
("gawk" ,gawk)))
("bash" ,%bash-static))))
("bash" ,static-bash))))
(define %static-binaries
(package