[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: gnu: sed: Use 'modify-phases' syntax.
From: |
Efraim Flashner |
Subject: |
06/06: gnu: sed: Use 'modify-phases' syntax. |
Date: |
Sun, 27 Nov 2016 08:40:03 +0000 (UTC) |
efraim pushed a commit to branch core-updates
in repository guix.
commit 51c8e2996c63311efc60e92743df21cd07044544
Author: Efraim Flashner <address@hidden>
Date: Sun Nov 27 10:25:45 2016 +0200
gnu: sed: Use 'modify-phases' syntax.
* gnu/packages/base.scm (sed)[arguments]: Use 'modify-phases' syntax.
---
gnu/packages/base.scm | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 52b035f..8aa4269 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -131,16 +131,17 @@ including, for example, recursive directory searching.")
(arguments
(if (%current-target-system)
'()
- `(#:phases (alist-cons-before
- 'patch-source-shebangs 'patch-test-suite
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((bash (assoc-ref inputs "bash")))
- (patch-makefile-SHELL "testsuite/Makefile.tests")
- (substitute* '("testsuite/bsd.sh"
- "testsuite/bug-regex9.c")
- (("/bin/sh")
- (string-append bash "/bin/bash")))))
- %standard-phases))))
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'patch-source-shebangs 'patch-test-suite
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((bash (assoc-ref inputs "bash")))
+ (patch-makefile-SHELL "testsuite/Makefile.tests")
+ (substitute* '("testsuite/bsd.sh"
+ "testsuite/bug-regex9.c")
+ (("/bin/sh")
+ (string-append bash "/bin/bash")))
+ #t)))))))
(description
"Sed is a non-interactive, text stream editor. It receives a text
input from a file or from standard input and it then applies a series of text
- branch core-updates updated (e30abbb -> 51c8e29), Efraim Flashner, 2016/11/27
- 05/06: gnu: grep: Update to 2.26., Efraim Flashner, 2016/11/27
- 02/06: gnu: icu4c: Use 'modify-phases' syntax., Efraim Flashner, 2016/11/27
- 06/06: gnu: sed: Use 'modify-phases' syntax.,
Efraim Flashner <=
- 04/06: gnu: nettle: Update to 3.3., Efraim Flashner, 2016/11/27
- 03/06: gnu: bash: Update to patch level 5., Efraim Flashner, 2016/11/27
- 01/06: gnu: icu4c: Update to 58.1., Efraim Flashner, 2016/11/27