mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02: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 a new issue