diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 1aba25914f51..11cb298708ec 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -2079,22 +2079,7 @@ let github.copilot = callPackage ./github.copilot { }; - github.copilot-chat = buildVscodeMarketplaceExtension { - mktplcRef = { - publisher = "github"; - name = "copilot-chat"; - # Verify which version is available with nix run nixpkgs#vsce -- show github.copilot-chat --json - version = "0.26.7"; # latest compatible with vscode ^1.98 - hash = "sha256-aR6AGU/boDmYef0GWna5sUsyv9KYGCkugWpFIusDMNE="; - }; - meta = { - description = "GitHub Copilot Chat is a companion extension to GitHub Copilot that houses experimental chat features"; - downloadPage = "https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat"; - homepage = "https://github.com/features/copilot"; - license = lib.licenses.unfree; - maintainers = [ lib.maintainers.laurent-f1z1 ]; - }; - }; + github.copilot-chat = callPackage ./github.copilot-chat { }; github.github-vscode-theme = buildVscodeMarketplaceExtension { mktplcRef = { diff --git a/pkgs/applications/editors/vscode/extensions/github.copilot-chat/default.nix b/pkgs/applications/editors/vscode/extensions/github.copilot-chat/default.nix new file mode 100644 index 000000000000..f755d180df21 --- /dev/null +++ b/pkgs/applications/editors/vscode/extensions/github.copilot-chat/default.nix @@ -0,0 +1,21 @@ +{ + lib, + vscode-utils, +}: + +vscode-utils.buildVscodeMarketplaceExtension { + mktplcRef = { + publisher = "github"; + name = "copilot-chat"; + version = "0.26.7"; + hash = "sha256-aR6AGU/boDmYef0GWna5sUsyv9KYGCkugWpFIusDMNE="; + }; + + meta = { + description = "GitHub Copilot Chat is a companion extension to GitHub Copilot that houses experimental chat features"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat"; + homepage = "https://github.com/features/copilot"; + license = lib.licenses.unfree; + maintainers = [ lib.maintainers.laurent-f1z1 ]; + }; +}