diff options
author | Marius Bakke <marius@gnu.org> | 2022-09-10 22:59:50 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-09-11 19:43:15 +0200 |
commit | 003fdf0a9d3067dcb747c30cb20db4c215affc8a (patch) | |
tree | f93175a974ac711a7ba36494cc27d0b358083085 /gnu/packages/version-control.scm | |
parent | b11c1d770250a8e61319f69af0de3d4724a20bcd (diff) |
gnu: mercurial: Adjust for grep 3.8.
* gnu/packages/version-control.scm (mercurial)[source](modules, snippet): New
fields.
Diffstat (limited to 'gnu/packages/version-control.scm')
-rw-r--r-- | gnu/packages/version-control.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 08bd80b586..a731e1236c 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1745,7 +1745,14 @@ execution of any hook written in any language before every commit.") "mercurial-openssl-compat.patch")) (sha256 (base32 - "1nl2726szaxyrxlyssrsir5c6vb4ci0i6g969i6xaahw1nidgica")))) + "1nl2726szaxyrxlyssrsir5c6vb4ci0i6g969i6xaahw1nidgica")) + (modules '((guix build utils))) + (snippet + '(substitute* (find-files "tests" "\\.(t|sh)$") + ;; grep 3.8 emits deprecation warnings for 'egrep' and + ;; 'fgrep' which breaks expected test output. + (("egrep") "grep -E") + (("fgrep") "grep -F"))))) (build-system gnu-build-system) (arguments `(#:make-flags |