mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
Merge pull request #320720 from NixOS/backport-320699-to-release-24.05
[Backport release-24.05] vimPlugins.copilot-vim: fix meta attrs
This commit is contained in:
commit
05634cf84b
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue