aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-03-09 11:09:06 +0200
committerEfraim Flashner <efraim@flashner.co.il>2016-04-05 10:03:07 +0300
commit7a93feb8745b7b3c6b1707d5d2641e6ff4fcce8f (patch)
tree174286eda20faa110e24ad1d214228d4036fab44
parentc613a21ba6e4950d765a4a7305f6dfb58acfe97f (diff)
downloadguix-7a93feb8745b7b3c6b1707d5d2641e6ff4fcce8f.tar
guix-7a93feb8745b7b3c6b1707d5d2641e6ff4fcce8f.tar.gz
gnu: vim: Use 'modify-phases'.
* gnu/packages/vim.scm (vim)[arguments]: Use 'modify-phases' syntax.
-rw-r--r--gnu/packages/vim.scm15
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 241896323c..73433e955f 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)