cudaPackages: add cudaOlder and cudaAtLeast comparators
This commit is contained in:
parent
fb0086d66b
commit
b02dbb03fb
@ -48,6 +48,8 @@ let
|
||||
inherit gpus nvccCompatibilities flags;
|
||||
cudaMajorVersion = versions.major cudaVersion;
|
||||
cudaMajorMinorVersion = versions.majorMinor cudaVersion;
|
||||
cudaOlder = strings.versionOlder cudaVersion;
|
||||
cudaAtLeast = strings.versionAtLeast cudaVersion;
|
||||
|
||||
# Maintain a reference to the final cudaPackages.
|
||||
# Without this, if we use `final.callPackage` and a package accepts `cudaPackages` as an argument,
|
||||
|
Loading…
Reference in New Issue
Block a user