From 90d64d9ca9b6940dc8ab0ea811d091e27f57552e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 4 Mar 2020 11:00:13 +0200 Subject: gnu: vim-neosnippet-snippets: Use copy-build-system. * gnu/packages/vim.scm (vim-neosnippet-snippets)[build-system]: Switch to copy-build-system. [arguments]: Adjust accordingly. --- gnu/packages/vim.scm | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 37af7c6193..54c9c5eaca 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -321,20 +321,10 @@ features than Vim's built-in completion.") (sha256 (base32 "151wpvbj6jb9jdkbhj3b77f5sq7y328spvwfbqyj1y32rg4ifmc6")))) - (build-system gnu-build-system) + (build-system copy-build-system) (arguments - `(#:tests? #f - #:phases - (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"))) - (copy-recursively "neosnippets" - (string-append vimfiles "/neosnippets")) - #t)))))) + '(#:install-plan + '(("neosnippets" "share/vim/vimfiles/")))) (synopsis "Snippets for neosnippet") (description "@code{neosnippet-snippets} provides standard snippets for the Vim plugin -- cgit v1.2.3