From 7a93feb8745b7b3c6b1707d5d2641e6ff4fcce8f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 9 Mar 2016 11:09:06 +0200 Subject: gnu: vim: Use 'modify-phases'. * gnu/packages/vim.scm (vim)[arguments]: Use 'modify-phases' syntax. --- gnu/packages/vim.scm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'gnu') 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 @@ (define-public vim `(#: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) -- cgit v1.2.3