diff --git a/pkgs/applications/editors/vscode/vscode.nix b/pkgs/applications/editors/vscode/vscode.nix index d7e05c3d6182..b229e30310e3 100644 --- a/pkgs/applications/editors/vscode/vscode.nix +++ b/pkgs/applications/editors/vscode/vscode.nix @@ -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}";