From 5ba94f8629027423cee3d60458f524ea8abc493e Mon Sep 17 00:00:00 2001 From: Elliot Cameron Date: Tue, 11 Jul 2023 18:22:42 -0400 Subject: [PATCH] cudatoolkit: fix build for 12.0.1 Many Qt dependencies were added only for 12.1 and above, but 12.0.1 also needs them. --- pkgs/development/compilers/cudatoolkit/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/cudatoolkit/common.nix b/pkgs/development/compilers/cudatoolkit/common.nix index 8037bd2a2aca..eba730b3a9cf 100644 --- a/pkgs/development/compilers/cudatoolkit/common.nix +++ b/pkgs/development/compilers/cudatoolkit/common.nix @@ -132,7 +132,7 @@ backendStdenv.mkDerivation rec { ucx xorg.libxshmfence xorg.libxkbfile - ] ++ (lib.optionals (lib.versionAtLeast version "12.1") (map lib.getLib ([ + ] ++ (lib.optionals (lib.versionAtLeast version "12") (map lib.getLib ([ # Used by `/target-linux-x64/CollectX/clx` and `/target-linux-x64/CollectX/libclx_api.so` for: # - `libcurl.so.4` curlMinimal