mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
gnu: %static-inputs: Use 'grep' without custom phase.
This reverts commit 1063d325ea
for during
creation of the bootstrap-binaries.
* gnu/packages/make-bootstrap.scm (%static-inputs): Use a custom 'grep'
without the absolute path name in fgrep/egrep.
This commit is contained in:
parent
ac16cf3ece
commit
b05fa64fcf
1 changed files with 12 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
|
||||||
|
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -206,7 +207,17 @@ (define %static-inputs
|
||||||
("patch" ,patch)
|
("patch" ,patch)
|
||||||
("coreutils" ,coreutils)
|
("coreutils" ,coreutils)
|
||||||
("sed" ,sed)
|
("sed" ,sed)
|
||||||
("grep" ,grep)
|
;; We don't want to retain a reference to /gnu/store in the
|
||||||
|
;; bootstrap versions of egrep/fgrep, so we remove the custom
|
||||||
|
;; phase added since grep@2.25. The effect is 'egrep' and
|
||||||
|
;; 'fgrep' look for 'grep' in $PATH.
|
||||||
|
("grep" ,(package
|
||||||
|
(inherit grep)
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments grep)
|
||||||
|
((#:phases phases)
|
||||||
|
`(modify-phases ,phases
|
||||||
|
(delete 'fix-egrep-and-fgrep)))))))
|
||||||
("gawk" ,gawk)))
|
("gawk" ,gawk)))
|
||||||
("bash" ,static-bash))))
|
("bash" ,static-bash))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue