python3Packages.paddlepaddle: add unsupported system throw (#476736)

This commit is contained in:
Sandro
2026-01-04 20:46:13 +00:00
committed by GitHub
@@ -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