From b2f97e14aee25445d324a53d3374cb3547242ba7 Mon Sep 17 00:00:00 2001 From: Connor Baker Date: Tue, 9 Jan 2024 23:02:00 +0000 Subject: [PATCH] cudaPackages: default badPlatformsConditions to empty --- .../cuda-modules/generic-builders/manifest.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/development/cuda-modules/generic-builders/manifest.nix b/pkgs/development/cuda-modules/generic-builders/manifest.nix index dcc7c91d1e28..a823bb7d9ac7 100644 --- a/pkgs/development/cuda-modules/generic-builders/manifest.nix +++ b/pkgs/development/cuda-modules/generic-builders/manifest.nix @@ -4,7 +4,6 @@ autoAddCudaCompatRunpathHook, autoPatchelfHook, backendStdenv, - config, fetchurl, lib, lndir, @@ -135,11 +134,8 @@ backendStdenv.mkDerivation ( # badPlatformsConditions :: AttrSet Bool # Sets `meta.badPlatforms = meta.platforms` if any of the conditions are true. - # Example: Broken on a specific architecture or when cudaSupport is false (building with CUDA essentially targets) - # a platform which NixOS doesn't have a notion of, otherwise we would specify the platform directly. - badPlatformsConditions = { - "CUDA support is disabled" = !config.cudaSupport; - }; + # Example: Broken on a specific architecture when some condition is met (like targeting Jetson). + badPlatformsConditions = { }; # src :: Optional Derivation src = trivial.pipe redistArch [