From 956b67b192195e6a9fd85c61504610cfe6ac18bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Dele=C5=84kec?= Date: Thu, 26 Jun 2025 17:23:15 +0100 Subject: [PATCH] vscode-extensions: throw on unsupported systems --- pkgs/applications/editors/vscode/extensions/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 6ab87df26539..4ada6b024fe3 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -1115,7 +1115,7 @@ let publisher = "Continue"; version = "1.1.49"; } - // sources.${stdenv.system}; + // sources.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}"); nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ]; buildInputs = [ (lib.getLib stdenv.cc.cc) ]; meta = { @@ -1387,7 +1387,7 @@ let publisher = "devsense"; version = "1.41.14332"; } - // sources.${stdenv.system}; + // sources.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}"); nativeBuildInputs = [ autoPatchelfHook ]; @@ -3334,7 +3334,7 @@ let publisher = "ms-dotnettools"; version = "2.2.3"; } - // sources.${stdenv.system}; + // sources.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}"); nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ]; buildInputs = [ (lib.getLib stdenv.cc.cc)