mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: vim: Use 'modify-phases'.
* gnu/packages/vim.scm (vim)[arguments]: Use 'modify-phases' syntax.
This commit is contained in:
parent
c613a21ba6
commit
7a93feb874
1 changed files with 7 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue