python3Packages.paddlepaddle: add unsupported system throw

This commit is contained in:
zowoq
2026-01-04 09:32:02 +10:00
parent 85d1ff830d
commit e2f53b2f72
@@ -40,7 +40,8 @@ let
lib.replaceStrings [ "." ] [ "" ] cudaPackages.cudatoolkit.version
}"."${pyShortVersion}"
else
sources."${stdenv.hostPlatform.system}"."cpu"."${pyShortVersion}";
sources."${stdenv.hostPlatform.system}"."cpu"."${pyShortVersion}"
or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
platform = sources."${stdenv.hostPlatform.system}".platform;
src =
if cudaSupport then