vscode: remove rec

(cherry picked from commit 05238330bc)
This commit is contained in:
mivorasu
2025-08-02 17:31:57 +08:00
committed by chn
parent 97556d4e2a
commit e1fac2cd02

View File

@@ -43,20 +43,27 @@ let
armv7l-linux = "sha256-VSsn4d9ztFgGXVZeCeTSHDD5n3aTBbHF/xx2JvTGOeQ=";
}
.${system} or throwSystem;
in
callPackage ./generic.nix rec {
# Please backport all compatible updates to the stable release.
# This is important for the extension ecosystem.
version = "1.102.3";
pname = "vscode" + lib.optionalString isInsiders "-insiders";
# This is used for VS Code - Remote SSH test
rev = "488a1f239235055e34e673291fb8d8c810886f81";
in
callPackage ./generic.nix {
pname = "vscode" + lib.optionalString isInsiders "-insiders";
executableName = "code" + lib.optionalString isInsiders "-insiders";
longName = "Visual Studio Code" + lib.optionalString isInsiders " - Insiders";
shortName = "Code" + lib.optionalString isInsiders " - Insiders";
inherit commandLineArgs useVSCodeRipgrep sourceExecutableName;
inherit
version
rev
commandLineArgs
useVSCodeRipgrep
sourceExecutableName
;
src = fetchurl {
name = "VSCode_${version}_${plat}.${archive_fmt}";