cudaPackages.autoAddCudaCompatRunpathHook: Correctly inherit platforms from cuda_compat

This commit is contained in:
hacker1024 2024-01-17 15:34:40 +11:00 committed by GitHub
parent 148cff9bff
commit 43afe6a62b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
)