gnu: vifm: Re-indent package.
* gnu/packages/vim.scm (vifm)[arguments]: Re-indent section.
This commit is contained in:
parent
b4bd0d86a8
commit
513a66c932
|
@ -828,32 +828,32 @@ refactor Vim in order to:
|
||||||
"0fyhxh7ndjn8fyjhj14ymkr3pjcs3k1xbs43g7xvvq85vdb6y04r"))))
|
"0fyhxh7ndjn8fyjhj14ymkr3pjcs3k1xbs43g7xvvq85vdb6y04r"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags '("--disable-build-timestamp")
|
'(#:configure-flags '("--disable-build-timestamp")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'patch-source-shebangs 'patch-test-shebangs
|
(add-after 'patch-source-shebangs 'patch-test-shebangs
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* (cons* "src/background.c"
|
(substitute* (cons* "src/background.c"
|
||||||
"src/cfg/config.c"
|
"src/cfg/config.c"
|
||||||
(find-files "tests" "\\.c$"))
|
(find-files "tests" "\\.c$"))
|
||||||
(("/bin/sh") (which "sh"))
|
(("/bin/sh") (which "sh"))
|
||||||
(("/bin/bash") (which "bash")))
|
(("/bin/bash") (which "bash")))
|
||||||
;; This test segfaults
|
;; This test segfaults
|
||||||
(substitute* "tests/Makefile"
|
(substitute* "tests/Makefile"
|
||||||
(("misc") ""))
|
(("misc") ""))
|
||||||
#t))
|
#t))
|
||||||
(add-after 'install 'install-vim-plugin-files
|
(add-after 'install 'install-vim-plugin-files
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(vifm (string-append out "/share/vifm"))
|
(vifm (string-append out "/share/vifm"))
|
||||||
(vimfiles (string-append out "/share/vim/vimfiles")))
|
(vimfiles (string-append out "/share/vim/vimfiles")))
|
||||||
(copy-recursively (string-append vifm "/colors")
|
(copy-recursively (string-append vifm "/colors")
|
||||||
(string-append vimfiles "/colors"))
|
(string-append vimfiles "/colors"))
|
||||||
(copy-recursively (string-append vifm "/vim")
|
(copy-recursively (string-append vifm "/vim")
|
||||||
vimfiles)
|
vimfiles)
|
||||||
(delete-file-recursively (string-append vifm "/colors"))
|
(delete-file-recursively (string-append vifm "/colors"))
|
||||||
(delete-file-recursively (string-append vifm "/vim")))
|
(delete-file-recursively (string-append vifm "/vim")))
|
||||||
#t)))))
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("groff" ,groff))) ; for the documentation
|
`(("groff" ,groff))) ; for the documentation
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Loading…
Reference in New Issue