gnu: vim: Use 'modify-phases'.

* gnu/packages/vim.scm (vim)[arguments]: Use 'modify-phases' syntax.
This commit is contained in:
Efraim Flashner 2016-03-09 11:09:06 +02:00
parent c613a21ba6
commit 7a93feb874
1 changed files with 7 additions and 8 deletions

View File

@ -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)