tritonclient: throw on unsupported systems

This commit is contained in:
Charlotte 🦝 Deleńkec
2025-07-11 22:09:02 -05:00
committed by Weijia Wang
parent e2dda6ab17
commit 461b59211e
@@ -35,8 +35,11 @@ buildPythonPackage rec {
inherit pname version format;
python = "py3";
dist = "py3";
platform = platforms.${stdenv.hostPlatform.system} or { };
sha256 = hashes.${stdenv.hostPlatform.system} or { };
platform =
platforms.${stdenv.hostPlatform.system}
or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
sha256 =
hashes.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
};
propagatedBuildInputs = [