1
0
Fork 1
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:
Gaétan Lepage 2024-06-18 14:24:17 +02:00 committed by GitHub
commit 05634cf84b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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: