mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -05:00
gnu: grep: Fix PCRE matches (grep -P).
* gnu/packages/base.scm (grep)[inputs]: Replace pcre with pcre2. [arguments]: Add "--enable-perl-regexp" to #:configure-flags to detect broken PCRE in future. Change-Id: I612564ca9ceae6aeee325368f34b2aa35eba0c40
This commit is contained in:
parent
a97ca00a5d
commit
968c6da422
1 changed files with 4 additions and 2 deletions
|
@ -125,9 +125,11 @@ (define-public grep
|
|||
(patches (search-patches "grep-timing-sensitive-test.patch"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs (list perl)) ;some of the tests require it
|
||||
(inputs (list pcre))
|
||||
(inputs (list pcre2))
|
||||
(arguments
|
||||
`(#:phases
|
||||
`(#:configure-flags
|
||||
(list "--enable-perl-regexp")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'fix-egrep-and-fgrep
|
||||
;; Patch 'egrep' and 'fgrep' to execute 'grep' via its
|
||||
|
|
Loading…
Reference in a new issue