feat: update openvscode

This commit is contained in:
steveej 2024-05-25 11:36:21 +02:00
parent 94c64eb05a
commit 0bdd287131
3 changed files with 10 additions and 8 deletions

8
flake.lock generated
View file

@ -772,16 +772,16 @@
"openvscode-server": { "openvscode-server": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1710222452, "lastModified": 1714076069,
"narHash": "sha256-v9q0+qhgDhqejSI6ioAUNsAKK27o/Uo0KUtuAuSQYig=", "narHash": "sha256-Yc16L13Z8AmsGoSFbvy+4+KBdHxvqLMwZLeU2/dAQVU=",
"owner": "gitpod-io", "owner": "gitpod-io",
"repo": "openvscode-server", "repo": "openvscode-server",
"rev": "aca758f19920d86e66dd5066ed290b9999b177ed", "rev": "7920868fc0c6f4e584cca7791c71d300f2bc3a56",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "gitpod-io", "owner": "gitpod-io",
"ref": "openvscode-server-v1.87.1", "ref": "openvscode-server-v1.88.1",
"repo": "openvscode-server", "repo": "openvscode-server",
"type": "github" "type": "github"
} }

View file

@ -26,7 +26,9 @@
nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions"; nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions";
nixpkgs-vscodium.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-vscodium.url = "github:nixos/nixpkgs/nixos-unstable";
openvscode-server.url = "github:gitpod-io/openvscode-server/openvscode-server-v1.87.1";
# needs to be in sync with `vscodium --version` from `nixpkgs-vscodium`
openvscode-server.url = "github:gitpod-io/openvscode-server/openvscode-server-v1.88.1";
openvscode-server.flake = false; openvscode-server.flake = false;
colmena = { colmena = {

View file

@ -77,14 +77,14 @@ in {
( (
set -e set -e
export COMMIT=$(codium --version | rg '^[0-9a-f]{40}$') export COMMIT=$(codium --version | rg '^[0-9a-f]{40}$')
ssh bm-hostkey0 "rm -rf /home/steveej/.vscodium-server/bin/$COMMIT; mkdir -p /home/steveej/.vscodium-server/bin/$COMMIT/bin/; ln -s \$(which openvscode-server) /home/steveej/.vscodium-server/bin/$COMMIT/bin/" ssh bm-hostkey0 "pkill -9 openvscode; rm -rf /home/steveej/.vscodium-server/bin/$COMMIT; mkdir -p /home/steveej/.vscodium-server/bin/$COMMIT/bin/; ln -s \$(which openvscode-server) /home/steveej/.vscodium-server/bin/$COMMIT/bin/"
) )
``` ```
*/ */
(pkgsVscodium.openvscode-server.overrideAttrs (attrs: { (pkgsVscodium.openvscode-server.overrideAttrs (attrs: {
src = repoFlake.inputs.openvscode-server; src = repoFlake.inputs.openvscode-server;
version = "1.87.1"; version = "1.88.1";
yarnCache = attrs.yarnCache.overrideAttrs (_: {outputHash = "sha256-oRuy7PjVv3Y24GQlvX4tPPndvKTgxbv7TR8ytTBY2DQ=";}); yarnCache = attrs.yarnCache.overrideAttrs (_: {outputHash = "sha256-89c6GYLT2RzHqwxBKegYqB6g5rEJ6/nH53cnfV7b0Ts=";});
})) }))
]; ];
}; };