python3Packages.tensorflowWithCuda: move assert to meta.broken (#426909)

This commit is contained in:
Philip Taron
2025-07-21 15:57:13 -07:00
committed by GitHub
@@ -46,9 +46,6 @@
# - the source build is currently brittle and not easy to maintain
# - the source build doesn't work on NVIDIA Jetson platforms
# unsupported combination
assert !(stdenv.hostPlatform.isDarwin && cudaSupport);
let
packages = import ./binary-hashes.nix;
inherit (cudaPackages) cudatoolkit cudnn;
@@ -233,5 +230,7 @@ buildPythonPackage rec {
abbradar
];
badPlatforms = [ "x86_64-darwin" ];
# unsupported combination
broken = stdenv.hostPlatform.isDarwin && cudaSupport;
};
}