vscode: 1.109.5 -> 1.111

- Adding @oenu as a maintainer in response to MS adopting a weekly release schedule
This commit is contained in:
oenu
2026-03-09 12:11:53 -04:00
parent cd7624f1c7
commit 675c577797
2 changed files with 17 additions and 12 deletions
@@ -13,7 +13,7 @@ if [[ -n "$version" ]]; then
latestVersion="$version"
else
latestVersion=$(curl --fail --silent https://api.github.com/repos/Microsoft/vscode/releases | jq --raw-output 'map(select(.prerelease==false)) | .[].tag_name' | sort -V | tail -n1)
if ! [[ "$latestVersion" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
if ! [[ "$latestVersion" =~ ^[0-9]+\.[0-9]+(\.[0-9]+)?$ ]]; then
echo "Error: Invalid version from GitHub API: $latestVersion"
exit 1
fi
+16 -11
View File
@@ -17,7 +17,6 @@
commandLineArgs ? "",
useVSCodeRipgrep ? stdenv.hostPlatform.isDarwin,
}:
let
inherit (stdenv.hostPlatform) system;
throwSystem = throw "Unsupported system: ${system}";
@@ -36,20 +35,25 @@ let
hash =
{
x86_64-linux = "sha256-cBYBA8DdpQ9lGjfuJ6ZammSmk4c0zxoLzUnYNhK9sac=";
x86_64-darwin = "sha256-84PnRIUTfsf4T36GkgNaeaKAcz0Ul/BsP6Sd93G/F2g=";
aarch64-linux = "sha256-nncqNGnODOgu66jp7ok/spblLSl0iZ1lPJqrkSDncIA=";
aarch64-darwin = "sha256-ckwFJ4P2hCy7TTUS+peUNad00ydk4RnAthkggrbYzAQ=";
armv7l-linux = "sha256-I5Phy1eY+oYAVBklvtUldkYbmgJUYCBr7hAGIxnNTvA=";
x86_64-linux = "sha256-3s0UzfkufKXXm57JgKaMan/SRAlGTLmdIRXXpzxQvAo=";
x86_64-darwin = "sha256-1+1Lin4KH3BiriA6m0TJlVG4m9Xl+PyE5cJFborOATM=";
aarch64-linux = "sha256-p68lztb+e8OMXtyaqXDdElhuhmv4Og7R+tdRXG85DnU=";
aarch64-darwin = "sha256-DUjT+vqjct8WMiRecltPcL+Jn78DfnuyGTMWhaGVcRY=";
armv7l-linux = "sha256-70WqRdVnx4zTY5eUFrxz4MiREXNSvahuINcu/9VNkZU=";
}
.${system} or throwSystem;
# Please backport all compatible updates to the stable release.
# This is important for the extension ecosystem.
version = "1.109.5";
version = "1.111.0";
# The update server (update.code.visualstudio.com) expects the version path
# segment in X.Y.Z form, so we normalize X.Y to X.Y.0 (e.g. "1.110" → "1.110.0").
# Upstream GitHub release tags may use X.Y, which is why this normalization is needed.
downloadVersion = lib.versions.pad 3 version;
# This is used for VS Code - Remote SSH test
rev = "072586267e68ece9a47aa43f8c108e0dcbf44622";
rev = "ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb";
in
buildVscode {
pname = "vscode" + lib.optionalString isInsiders "-insiders";
@@ -66,8 +70,8 @@ buildVscode {
;
src = fetchurl {
name = "VSCode_${version}_${plat}.${archive_fmt}";
url = "https://update.code.visualstudio.com/${version}/${plat}/stable";
name = "VSCode_${downloadVersion}_${plat}.${archive_fmt}";
url = "https://update.code.visualstudio.com/${downloadVersion}/${plat}/stable";
inherit hash;
};
@@ -82,7 +86,7 @@ buildVscode {
src = fetchurl {
name = "vscode-server-${rev}.tar.gz";
url = "https://update.code.visualstudio.com/commit:${rev}/server-linux-x64/stable";
hash = "sha256-E9Oruk0rwp1TcJ0QXwBoNMStJYmhzvXXkY0SA8bQv3Y=";
hash = "sha256-0fEyS5/FtUBVE6J8NGghKITtIq6Yykyi5Vt8S20INP8=";
};
stdenv = stdenvNoCC;
};
@@ -117,6 +121,7 @@ buildVscode {
johnrtitor
jefflabonte
wetrustinprize
oenu
];
platforms = [
"x86_64-linux"