[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: vim: Use 'modify-phases'.
From: |
Efraim Flashner |
Subject: |
01/01: gnu: vim: Use 'modify-phases'. |
Date: |
Tue, 05 Apr 2016 07:03:22 +0000 |
efraim pushed a commit to branch master
in repository guix.
commit 7a93feb8745b7b3c6b1707d5d2641e6ff4fcce8f
Author: Efraim Flashner <address@hidden>
Date: Wed Mar 9 11:09:06 2016 +0200
gnu: vim: Use 'modify-phases'.
* gnu/packages/vim.scm (vim)[arguments]: Use 'modify-phases' syntax.
---
gnu/packages/vim.scm | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 2418963..73433e9 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -44,14 +44,13 @@
`(#:test-target "test"
#:parallel-tests? #f
#:phases
- (alist-cons-after
- 'configure 'patch-config-files
- (lambda _
- (substitute* "runtime/tools/mve.awk"
- (("/usr/bin/nawk") (which "gawk")))
- (substitute* "src/testdir/Makefile"
- (("/bin/sh") (which "sh"))))
- %standard-phases)))
+ (modify-phases %standard-phases
+ (add-after 'configure 'patch-config-files
+ (lambda _
+ (substitute* "runtime/tools/mve.awk"
+ (("/usr/bin/nawk") (which "gawk")))
+ (substitute* "src/testdir/Makefile"
+ (("/bin/sh") (which "sh"))))))))
(inputs
`(("gawk" ,gawk)
("inetutils" ,inetutils)