mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 11:00:36 +02: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 @@ command-line arguments, multiple languages, and so on.")
|
|||
(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…
Add table
Add a link
Reference in a new issue