tritonclient: throw on unsupported systems
This commit is contained in:
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 = [
|
||||
|
||||
Reference in New Issue
Block a user