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" `(#:test-target "test"
#:parallel-tests? #f #:parallel-tests? #f
#:phases #:phases
(alist-cons-after (modify-phases %standard-phases
'configure 'patch-config-files (add-after 'configure 'patch-config-files
(lambda _ (lambda _
(substitute* "runtime/tools/mve.awk" (substitute* "runtime/tools/mve.awk"
(("/usr/bin/nawk") (which "gawk"))) (("/usr/bin/nawk") (which "gawk")))
(substitute* "src/testdir/Makefile" (substitute* "src/testdir/Makefile"
(("/bin/sh") (which "sh")))) (("/bin/sh") (which "sh"))))))))
%standard-phases)))
(inputs (inputs
`(("gawk" ,gawk) `(("gawk" ,gawk)
("inetutils" ,inetutils) ("inetutils" ,inetutils)