From f4474ec730cfc8d84aa3cb55bcbe357b912c1b6c Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Sat, 6 Jan 2024 23:12:29 +0000 Subject: [PATCH] cudaPackages.saxpy: 1/3 the runtime closure (cherry picked from commit 3e003a17bafb8ad2c9026843c241412e2d61a541) --- pkgs/development/cuda-modules/saxpy/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/cuda-modules/saxpy/default.nix b/pkgs/development/cuda-modules/saxpy/default.nix index 73e17b28757b..9c6692cb0b31 100644 --- a/pkgs/development/cuda-modules/saxpy/default.nix +++ b/pkgs/development/cuda-modules/saxpy/default.nix @@ -36,7 +36,9 @@ backendStdenv.mkDerivation { buildInputs = lib.optionals (lib.versionOlder cudaVersion "11.4") [cudatoolkit] ++ lib.optionals (lib.versionAtLeast cudaVersion "11.4") [ - libcublas + libcublas.dev + libcublas.lib + libcublas.static cuda_cudart ] ++ lib.optionals (lib.versionAtLeast cudaVersion "12.0") [cuda_cccl];