pin copilot-chat, get dailies from copilot.

This commit is contained in:
Joseph Hanson 2024-08-06 06:35:26 -05:00
parent 938b552353
commit 5cb8dca3a7
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 18 additions and 15 deletions

View file

@ -438,11 +438,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1722302960, "lastModified": 1722907736,
"narHash": "sha256-byZl18UZCHy3vLhxrXp8THzlzmwNfil93ZQLY30i7/Q=", "narHash": "sha256-drU5kbx9EtTqg7rXc6ni0LZuZQy7l/wVgsQ8PSYl5Qw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-vscode-extensions", "repo": "nix-vscode-extensions",
"rev": "e1a1e6cabd0140ed353e173290e6d92510f5fd66", "rev": "b3c49142939ba6072cb8bdd6109e36d1b70a055a",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -5,9 +5,13 @@ let
# VSCode Community Extensions. These are updated daily. # VSCode Community Extensions. These are updated daily.
vscodeCommunityExtensions = [ vscodeCommunityExtensions = [
"dracula-theme.theme-dracula" "dracula-theme.theme-dracula"
"editorconfig.editorconfig"
"esbenp.prettier-vscode" "esbenp.prettier-vscode"
"github.copilot"
# "github.copilot-chat"
"jnoortheen.nix-ide" "jnoortheen.nix-ide"
"mikestead.dotenv" "mikestead.dotenv"
"mrmlnc.vscode-json5"
"ms-azuretools.vscode-docker" "ms-azuretools.vscode-docker"
# Python extensions *required* for redhat.ansible/vscode-yaml # Python extensions *required* for redhat.ansible/vscode-yaml
"ms-python.python" "ms-python.python"
@ -21,8 +25,6 @@ let
"tamasfe.even-better-toml" "tamasfe.even-better-toml"
"tyriar.sort-lines" "tyriar.sort-lines"
"yzhang.markdown-all-in-one" "yzhang.markdown-all-in-one"
"mrmlnc.vscode-json5"
"editorconfig.editorconfig"
]; ];
# Nixpkgs Extensions. These are updated whenver they get around to it. # Nixpkgs Extensions. These are updated whenver they get around to it.
vscodeNixpkgsExtensions = [ vscodeNixpkgsExtensions = [
@ -31,20 +33,21 @@ let
]; ];
# Straight from the VSCode marketplace. # Straight from the VSCode marketplace.
marketplaceExtensions = [ marketplaceExtensions = [
{ # {
name = "copilot"; # name = "copilot";
publisher = "github"; # publisher = "github";
version = "1.219.0"; # version = "1.219.0";
sha256 = "Y/l59JsmAKtENhBBf965brSwSkTjSOEuxc3tlWI88sY="; # sha256 = "Y/l59JsmAKtENhBBf965brSwSkTjSOEuxc3tlWI88sY=";
} # }
{ { # Apparently there's no insiders build for copilot-chat so the latest isn't what we want.
# The latest generally targets insiders build of vs code right now and it won't load on stable.
name = "copilot-chat"; name = "copilot-chat";
publisher = "github"; publisher = "github";
version = "0.17.1"; version = "0.18.1";
sha256 = "Aa4gmHJCveP18v6CAvmkxmqf1JV1LygyQFNpzDz64Gw="; sha256 = "BrcrfhkX2VGF9wznTSlPSdPPv126ScbHb1ngBRGtr4E=";
} }
]; ];
# Extract extension strings and coerce them to a list of valid attribute paths. # Extract extension strings and coerce them to a list of valid attribute paths.
vscodeCommunityExtensionsPackages = map (ext: getAttrFromPath (splitString "." ext) pkgs.vscode-marketplace) vscodeCommunityExtensions; vscodeCommunityExtensionsPackages = map (ext: getAttrFromPath (splitString "." ext) pkgs.vscode-marketplace) vscodeCommunityExtensions;
nixpkgsExtensionsPackages = map (ext: getAttrFromPath (splitString "." ext) pkgs.vscode-extensions) vscodeNixpkgsExtensions; nixpkgsExtensionsPackages = map (ext: getAttrFromPath (splitString "." ext) pkgs.vscode-extensions) vscodeNixpkgsExtensions;
marketplaceExtensionsPackages = pkgs.vscode-utils.extensionsFromVscodeMarketplace marketplaceExtensions; marketplaceExtensionsPackages = pkgs.vscode-utils.extensionsFromVscodeMarketplace marketplaceExtensions;