gnu: vim: Patch another '/bin/sh' shebang.
* gnu/packages/vim.scm (vim)[arguments]: Adjust custom phase 'patch-absolute-paths to use absolute value when checking for custom cscope command.
This commit is contained in:
parent
63bf060138
commit
2facc0eb37
1 changed files with 4 additions and 2 deletions
|
@ -94,7 +94,7 @@ (define-public vim
|
|||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'configure 'patch-absolute-paths
|
||||
(lambda _
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* '("src/testdir/Makefile"
|
||||
"src/testdir/test_filetype.vim"
|
||||
"src/testdir/test_normal.vim"
|
||||
|
@ -106,7 +106,9 @@ (define-public vim
|
|||
"src/testdir/test_terminal2.vim")
|
||||
(("/bin/sh") (which "sh")))
|
||||
(substitute* "src/testdir/test_autocmd.vim"
|
||||
(("/bin/kill") (which "kill")))))
|
||||
(("/bin/kill") (which "kill")))
|
||||
(substitute* "src/if_cscope.c"
|
||||
(("/bin/sh") (search-input-file inputs "/bin/sh")))))
|
||||
(add-before 'check 'set-environment-variables
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; One of the tests tests timezone-dependent functions.
|
||||
|
|
Loading…
Reference in a new issue