diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-03-04 12:00:09 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-03-04 12:00:09 +0200 |
commit | 94d53fbb07074132c0052e998bb287a7f464b9be (patch) | |
tree | a7b34e68a72a1bb5a3648987ddbbf789a76f94d6 /gnu/packages | |
parent | 8e38ed1f044a5b42676a35543e452995ac84bc22 (diff) | |
download | patches-94d53fbb07074132c0052e998bb287a7f464b9be.tar patches-94d53fbb07074132c0052e998bb287a7f464b9be.tar.gz |
gnu: editorconfig-vim: Use copy-build-system.
* gnu/packages/vim.scm (editorconfig-vim)[build-system]: Switch to
copy-build-system.
[arguments]: Adjust accordingly.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/vim.scm | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index f78d1d0a16..bed9783281 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -589,30 +589,20 @@ are detected, the user is notified.") (snippet '(begin (delete-file-recursively "plugin/editorconfig-core-py") #t)))) - (build-system gnu-build-system) + (build-system copy-build-system) (arguments - '(#:tests? #f ; tests require ruby and plugin-test repository - #:phases + '(#:phases (modify-phases %standard-phases - (delete 'configure) - (delete 'build) (add-after 'unpack 'patch-editorconfig-path (lambda* (#:key inputs #:allow-other-keys) (let ((editorconfig (assoc-ref inputs "editorconfig-core"))) (substitute* "plugin/editorconfig.vim" (("/opt") editorconfig)) - #t))) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (vimfiles (string-append out "/share/vim/vimfiles")) - (doc (string-append vimfiles "/doc")) - (plugin (string-append vimfiles "/plugin")) - (autoload (string-append vimfiles "/autoload"))) - (copy-recursively "doc" doc) - (copy-recursively "autoload" autoload) - (copy-recursively "plugin" plugin) - #t)))))) + #t)))) + #:install-plan + '(("autoload" "share/vim/vimfiles/") + ("doc" "share/vim/vimfiles/") + ("plugin" "share/vim/vimfiles/")))) (inputs `(("editorconfig-core" ,editorconfig-core-c))) (home-page "https://editorconfig.org/") |