From 43afe6a62b573a989ab9e883b8b4c79449cdb196 Mon Sep 17 00:00:00 2001 From: hacker1024 Date: Wed, 17 Jan 2024 15:34:40 +1100 Subject: [PATCH] cudaPackages.autoAddCudaCompatRunpathHook: Correctly inherit platforms from cuda_compat --- pkgs/development/cuda-modules/setup-hooks/extension.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/cuda-modules/setup-hooks/extension.nix b/pkgs/development/cuda-modules/setup-hooks/extension.nix index 5141bc9717f9..9e352bd5b3af 100644 --- a/pkgs/development/cuda-modules/setup-hooks/extension.nix +++ b/pkgs/development/cuda-modules/setup-hooks/extension.nix @@ -66,7 +66,7 @@ final: _: { # Pre-cuda_compat CUDA release: meta.badPlatforms = final.lib.optionals (cuda_compat == null) final.lib.platforms.all; - meta.platforms = cuda_compat.platforms or [ ]; + meta.platforms = cuda_compat.meta.platforms or [ ]; } ./auto-add-cuda-compat-runpath.sh )