all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#29880] [PATCH] gnu: grep: Add PCRE support.
@ 2017-12-28 19:18 Oleg Pykhalov
  2018-01-08  9:08 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Oleg Pykhalov @ 2017-12-28 19:18 UTC (permalink / raw)
  To: 29880


[-- Attachment #1.1: Type: text/plain, Size: 70 bytes --]

Hello Guix,

This patch allows to grep with perl regular expression.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: [PATCH] gnu: grep: Add PCRE support. --]
[-- Type: text/x-patch, Size: 1180 bytes --]

From db4fe96c7c6c0fcaa82e1131aba157c5d5e5f537 Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust@gmail.com>
Date: Thu, 28 Dec 2017 22:12:13 +0300
Subject: [PATCH] gnu: grep: Add PCRE support.

* gnu/packages/base.scm (grep)[inputs]: New field.
---
 gnu/packages/base.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 9cb628d8d..2b439e958 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -40,6 +40,7 @@
   #:use-module (gnu packages linux)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages hurd)
+  #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages gettext)
   #:use-module (guix utils)
@@ -92,6 +93,7 @@ command-line arguments, multiple languages, and so on.")
             (patches (search-patches "grep-timing-sensitive-test.patch"
                                      "grep-gnulib-lock.patch"))))
    (build-system gnu-build-system)
+   (inputs `(("pcre" ,pcre)))
    (native-inputs `(("perl" ,perl)))             ;some of the tests require it
    (arguments
     `(#:phases
-- 
2.15.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-01-11 21:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-28 19:18 [bug#29880] [PATCH] gnu: grep: Add PCRE support Oleg Pykhalov
2018-01-08  9:08 ` Ludovic Courtès
2018-01-08 16:28   ` Roel Janssen
2018-01-09  8:54     ` Ludovic Courtès
2018-01-09 11:23       ` Roel Janssen
2018-01-11 21:50         ` bug#29880: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.