diff options
author | Malo Bourgon <mbourgon@gmail.com> | 2019-07-14 14:59:16 -0700 |
---|---|---|
committer | Malo Bourgon <mbourgon@gmail.com> | 2019-07-15 10:50:10 -0700 |
commit | a23a09ba841bdbee43c59e274ceb5212c2256373 (patch) | |
tree | d2169a8b8dcd6437938b3fe543d5d8baa5ed3510 /pkgs/misc/vim-plugins | |
parent | 161927b1b1b106ae2ea9a48cb9ac298529eee97f (diff) | |
download | nixlib-a23a09ba841bdbee43c59e274ceb5212c2256373.tar nixlib-a23a09ba841bdbee43c59e274ceb5212c2256373.tar.gz nixlib-a23a09ba841bdbee43c59e274ceb5212c2256373.tar.bz2 nixlib-a23a09ba841bdbee43c59e274ceb5212c2256373.tar.lz nixlib-a23a09ba841bdbee43c59e274ceb5212c2256373.tar.xz nixlib-a23a09ba841bdbee43c59e274ceb5212c2256373.tar.zst nixlib-a23a09ba841bdbee43c59e274ceb5212c2256373.zip |
vimPlugins.coc-nvim: 0.0.72 -> 0.0.73
Diffstat (limited to 'pkgs/misc/vim-plugins')
-rw-r--r-- | pkgs/misc/vim-plugins/overrides.nix | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/pkgs/misc/vim-plugins/overrides.nix b/pkgs/misc/vim-plugins/overrides.nix index 033a02a65848..0c597e2d8c58 100644 --- a/pkgs/misc/vim-plugins/overrides.nix +++ b/pkgs/misc/vim-plugins/overrides.nix @@ -119,20 +119,17 @@ self: super: { ''; }); - coc-nvim = let - version = "0.0.72"; - index_js = fetchzip { - url = "https://github.com/neoclide/coc.nvim/releases/download/v${version}/coc.tar.gz"; - sha256 = "128wlbnpz4gwpfnmzry5k52d58fyp9nccha314ndfnr9xgd6r52y"; - }; - in super.coc-nvim.overrideAttrs(old: { - # you still need to enable the node js provider in your nvim config - postInstall = '' - mkdir -p $out/share/vim-plugins/coc-nvim/build - cp ${index_js}/index.js $out/share/vim-plugins/coc-nvim/build/ - ''; - - }); + # Only official releases contains the required index.js file + coc-nvim = buildVimPluginFrom2Nix rec { + pname = "coc-nvim"; + version = "0.0.73"; + src = fetchFromGitHub { + owner = "neoclide"; + repo = "coc.nvim"; + rev = "v${version}"; + sha256 = "1z7573rbh806nmkh75hr1kbhxr4jysv6k9x01fcyjfwricpa3cf7"; + }; + }; command-t = super.command-t.overrideAttrs(old: { buildInputs = [ ruby rake ]; |