vimPlugins.copilot-vim: fix meta attrs

(cherry picked from commit 68cdd2ba25)
This commit is contained in:
Gaetan Lepage 2024-06-18 08:22:54 +02:00 committed by github-actions[bot]
parent 24cad53c71
commit da3e808c9c

View File

@ -453,15 +453,17 @@
dependencies = with self; [ copilot-lua plenary-nvim ];
};
copilot-vim = super.copilot-vim.overrideAttrs {
copilot-vim = super.copilot-vim.overrideAttrs (old: {
postInstall = ''
substituteInPlace $out/autoload/copilot/agent.vim \
--replace " let node = get(g:, 'copilot_node_command', ''\'''\')" \
" let node = get(g:, 'copilot_node_command', '${nodejs}/bin/node')"
'';
meta.license = lib.licenses.unfree;
};
meta = old.meta // {
license = lib.licenses.unfree;
};
});
coq_nvim = super.coq_nvim.overrideAttrs {
passthru.python3Dependencies = ps: