about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Marshall <andrew@johnandrewmarshall.com>2024-01-09 11:37:01 -0500
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-06-12 20:15:12 +0000
commite0e0c67c1062749d89c88ed530ffe3c4e949222d (patch)
treea8023735e046e5726175221df4e6511bbc100e2d
parent91e4009948297974b44a482350f133cc65e3167d (diff)
vimPlugins/copilot-vim: specify license (unfree)
From [the license][1]:

> GitHub Copilot is offered under the GitHub Terms of Service.
> Copyright (C) 2023 GitHub, Inc. - All Rights Reserved.

[1]: https://github.com/github/copilot.vim/blob/5b19fb001d7f31c4c7c5556d7a97b243bd29f45f/LICENSE.md

(cherry picked from commit 58ff8a126c5de1f23663fa07b5942d16c5940c7f)
-rw-r--r--pkgs/applications/editors/vim/plugins/overrides.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix
index a27f8650f425e..7f055dd1827c0 100644
--- a/pkgs/applications/editors/vim/plugins/overrides.nix
+++ b/pkgs/applications/editors/vim/plugins/overrides.nix
@@ -371,6 +371,8 @@ self: super: {
         --replace "  let node = get(g:, 'copilot_node_command', ''\'''\')" \
                   "  let node = get(g:, 'copilot_node_command', '${nodejs}/bin/node')"
     '';
+
+    meta.license = lib.licenses.unfree;
   };
 
   coq_nvim = super.coq_nvim.overrideAttrs {