From 8ad08a94d933bd532aecf2ec531495b04a50b2a6 Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 5 Aug 2021 17:14:03 +0300 Subject: [PATCH] vscode: remove default sourceExecutableName generic.nix sets it to executableName by default if not set if set, it prevents the correct sourceExecutableName being set for -insiders --- pkgs/applications/editors/vscode/vscode.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/applications/editors/vscode/vscode.nix b/pkgs/applications/editors/vscode/vscode.nix index 23af04462ba..908739b6aa3 100644 --- a/pkgs/applications/editors/vscode/vscode.nix +++ b/pkgs/applications/editors/vscode/vscode.nix @@ -27,7 +27,6 @@ in version = "1.58.2"; pname = "vscode"; - sourceExecutableName = "code"; executableName = "code" + lib.optionalString isInsiders "-insiders"; longName = "Visual Studio Code" + lib.optionalString isInsiders " - Insiders"; shortName = "Code" + lib.optionalString isInsiders " - Insiders";