mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: vim-luna: Use copy-build-system.
* gnu/packages/vim.scm (vim-luna)[build-system]: Switch to copy-build-system. [arguments]: Adjust accordingly.
This commit is contained in:
parent
0db06e7da9
commit
84ec7b7009
1 changed files with 3 additions and 13 deletions
|
@ -417,20 +417,10 @@ (define-public vim-luna
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0ka3qbhsh8lix1vyj4678j7dnchkd8khhirrnn3aylxxf8fpqyg8"))))
|
"0ka3qbhsh8lix1vyj4678j7dnchkd8khhirrnn3aylxxf8fpqyg8"))))
|
||||||
(build-system gnu-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f
|
'(#:install-plan
|
||||||
#:phases
|
'(("colors" "share/vim/vimfiles/"))))
|
||||||
(modify-phases %standard-phases
|
|
||||||
(delete 'configure)
|
|
||||||
(delete 'build)
|
|
||||||
(replace 'install
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
|
||||||
(vimfiles (string-append out "/share/vim/vimfiles"))
|
|
||||||
(colors (string-append vimfiles "/colors")))
|
|
||||||
(copy-recursively "colors" colors)
|
|
||||||
#t))))))
|
|
||||||
(synopsis "Dark color theme for Vim")
|
(synopsis "Dark color theme for Vim")
|
||||||
(description
|
(description
|
||||||
"@code{vim-luna} is a dark color theme for Vim.")
|
"@code{vim-luna} is a dark color theme for Vim.")
|
||||||
|
|
Loading…
Reference in a new issue