vimPlugins.coc-nvim: 0.0.72 -> 0.0.73

This commit is contained in:
Malo Bourgon 2019-07-14 14:59:16 -07:00
parent 161927b1b1
commit a23a09ba84

View File

@ -119,20 +119,17 @@ self: super: {
''; '';
}); });
coc-nvim = let # Only official releases contains the required index.js file
version = "0.0.72"; coc-nvim = buildVimPluginFrom2Nix rec {
index_js = fetchzip { pname = "coc-nvim";
url = "https://github.com/neoclide/coc.nvim/releases/download/v${version}/coc.tar.gz"; version = "0.0.73";
sha256 = "128wlbnpz4gwpfnmzry5k52d58fyp9nccha314ndfnr9xgd6r52y"; src = fetchFromGitHub {
}; owner = "neoclide";
in super.coc-nvim.overrideAttrs(old: { repo = "coc.nvim";
# you still need to enable the node js provider in your nvim config rev = "v${version}";
postInstall = '' sha256 = "1z7573rbh806nmkh75hr1kbhxr4jysv6k9x01fcyjfwricpa3cf7";
mkdir -p $out/share/vim-plugins/coc-nvim/build };
cp ${index_js}/index.js $out/share/vim-plugins/coc-nvim/build/ };
'';
});
command-t = super.command-t.overrideAttrs(old: { command-t = super.command-t.overrideAttrs(old: {
buildInputs = [ ruby rake ]; buildInputs = [ ruby rake ];