mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-26 08:48:38 +03:00
Merge pull request #172786 from danielfullmer/cudnn-src
cudaPackages.cudnn: fix source fetching
This commit is contained in:
commit
36342ac7ad
@ -21,12 +21,12 @@
|
||||
|
||||
{ fullVersion
|
||||
, url
|
||||
, hash ? null
|
||||
, sha256 ? null
|
||||
, hash ? ""
|
||||
, sha256 ? ""
|
||||
, supportedCudaVersions ? [ ]
|
||||
}:
|
||||
|
||||
assert (hash != null) || (sha256 != null);
|
||||
assert (hash != "") || (sha256 != "");
|
||||
|
||||
assert useCudatoolkitRunfile || (libcublas != null);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user