mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: vim-guix-vim: Use copy-build-system.
* gnu/packages/vim.scm (vim-guix-vim)[build-system]: Switch to copy-build-system. [arguments]: Adjust accordingly.
This commit is contained in:
parent
94d53fbb07
commit
12fe38a1d6
1 changed files with 8 additions and 15 deletions
|
@ -834,22 +834,15 @@ (define-public vim-guix-vim
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1f8h8m96fqh3f9hy87spgh9kdqzyxl11n9s3rywvyq5xhn489bnk"))))
|
"1f8h8m96fqh3f9hy87spgh9kdqzyxl11n9s3rywvyq5xhn489bnk"))))
|
||||||
(build-system gnu-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f
|
'(#:install-plan
|
||||||
#:phases
|
'(("compiler" "share/vim/vimfiles/")
|
||||||
(modify-phases %standard-phases
|
("doc" "share/vim/vimfiles/")
|
||||||
(delete 'configure)
|
("indent" "share/vim/vimfiles/")
|
||||||
(delete 'build)
|
("ftdetect" "share/vim/vimfiles/")
|
||||||
(replace 'install
|
("ftplugin" "share/vim/vimfiles/")
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
("syntax" "share/vim/vimfiles/"))))
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
|
||||||
(vimfiles (string-append out "/share/vim/vimfiles")))
|
|
||||||
(for-each
|
|
||||||
(lambda (dir)
|
|
||||||
(copy-recursively dir (string-append vimfiles "/" dir)))
|
|
||||||
'("compiler" "doc" "indent" "ftdetect" "ftplugin" "syntax"))
|
|
||||||
#t))))))
|
|
||||||
(home-page "https://gitlab.com/Efraim/guix.vim")
|
(home-page "https://gitlab.com/Efraim/guix.vim")
|
||||||
(synopsis "Guix integration in Vim")
|
(synopsis "Guix integration in Vim")
|
||||||
(description "This package provides support for GNU Guix in Vim.")
|
(description "This package provides support for GNU Guix in Vim.")
|
||||||
|
|
Loading…
Reference in a new issue