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.
This commit is contained in:
Elliot Cameron 2023-07-11 18:22:42 -04:00
parent 65497764e8
commit 5ba94f8629

View file

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