vscode-extensions: throw on unsupported systems

This commit is contained in:
Charlotte 🦝 Deleńkec 2025-06-26 17:23:15 +01:00 committed by Weijia Wang
parent fdd6dab382
commit 956b67b192

View File

@ -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)