From 5e472d946836bb1be3e2ba30e01d746d5b597876 Mon Sep 17 00:00:00 2001 From: Connor Baker Date: Thu, 4 Jan 2024 13:48:10 +0000 Subject: cudaPackages: unsupported platform should not set broken to true --- pkgs/development/cuda-modules/generic-builders/manifest.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'pkgs/development/cuda-modules') diff --git a/pkgs/development/cuda-modules/generic-builders/manifest.nix b/pkgs/development/cuda-modules/generic-builders/manifest.nix index 64204346791a8..f77a1a6385a92 100644 --- a/pkgs/development/cuda-modules/generic-builders/manifest.nix +++ b/pkgs/development/cuda-modules/generic-builders/manifest.nix @@ -127,13 +127,10 @@ backendStdenv.mkDerivation ( # Useful for introspecting why something went wrong. # Maps descriptions of why the derivation would be marked broken to # booleans indicating whether that description is true. + # NOTE: This should not include reasons relating to the architecture, as those are handled by + # the `badPlatforms` attribute. # brokenConditions :: AttrSet Bool - brokenConditions = { - # Using an unrecognized redistArch - "Unrecognized NixOS platform ${hostPlatform.system}" = redistArch == "unsupported"; - # Trying to build for a platform that doesn't have a redistributable - "Unsupported NixOS platform (or configuration) ${hostPlatform.system}" = finalAttrs.src == null; - }; + brokenConditions = { }; # src :: Optional Derivation src = trivial.pipe redistArch [ -- cgit 1.4.1