From 6a84a15c869a886517bd8320b4e2ba91a3c5adcd Mon Sep 17 00:00:00 2001 From: SomeoneSerge Date: Tue, 13 May 2025 15:53:02 +0000 Subject: [PATCH] cudaPackages_11_0.autoAddCudaCompatRunpath.libcudaPath: fix the eval --- pkgs/top-level/cuda-packages.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/cuda-packages.nix b/pkgs/top-level/cuda-packages.nix index 740efe03b3469..84a05e71649af 100644 --- a/pkgs/top-level/cuda-packages.nix +++ b/pkgs/top-level/cuda-packages.nix @@ -27,6 +27,7 @@ newScope, pkgs, stdenv, + runCommand, }: let inherit (lib) @@ -135,7 +136,10 @@ let [ ( final: _: - lib.packagesFromDirectoryRecursive { + { + cuda_compat = runCommand "cuda_compat" { meta.platforms = [ ]; } "false"; # Prevent missing attribute errors + } + // lib.packagesFromDirectoryRecursive { inherit (final) callPackage; directory = ../development/cuda-modules/packages; }