From 6081ff43ee848ca080ca391e3cba87bdb493eeed Mon Sep 17 00:00:00 2001 From: iosmanthus Date: Wed, 6 Mar 2024 23:03:16 +0800 Subject: [PATCH] vscode: Fix url handler MimeType for vscode-insiders According to upstream RPMs, while using vscode-insiders, the URL handler MimeType should be `x-scheme-handler/vscode-insiders` instead of `x-scheme-handler/vscode`. See pull request 293460 and pull request 288425. --- pkgs/applications/editors/vscode/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/vscode/generic.nix b/pkgs/applications/editors/vscode/generic.nix index 5000393913c1..b7fe7d2712a6 100644 --- a/pkgs/applications/editors/vscode/generic.nix +++ b/pkgs/applications/editors/vscode/generic.nix @@ -150,7 +150,7 @@ in icon = "vs${executableName}"; startupNotify = true; categories = [ "Utility" "TextEditor" "Development" "IDE" ]; - mimeTypes = [ "x-scheme-handler/vscode" ]; + mimeTypes = [ "x-scheme-handler/vs${executableName}" ]; keywords = [ "vscode" ]; noDisplay = true; };