thunderbird-bin: throw on unsupported system (#453333)

This commit is contained in:
Sandro
2025-10-19 19:35:16 +00:00
committed by GitHub
@@ -45,7 +45,9 @@ let
x86_64-darwin = "mac";
};
arch = mozillaPlatforms.${stdenv.hostPlatform.system};
throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";
arch = mozillaPlatforms.${stdenv.hostPlatform.system} or throwSystem;
isPrefixOf = prefix: string: builtins.substring 0 (builtins.stringLength prefix) string == prefix;