TheanoWithCuda: cudnn shouldn't be optional or list wrapped #26263

* python27.withPackages drops nested propagatedBuildInputs
* not clear why cudnn was optional to begin with
This commit is contained in:
Tyson Whitehead 2017-05-30 16:06:16 -04:00
parent 8b273b608d
commit 20730dc280
No known key found for this signature in database
GPG Key ID: B22199763A27997B

View File

@ -56,7 +56,8 @@ buildPythonPackage rec {
pycuda pycuda
cudatoolkit cudatoolkit
libgpuarray libgpuarray
] ++ (stdenv.lib.optional (cudnn != null) [ cudnn ]); cudnn
];
passthru.cudaSupport = true; passthru.cudaSupport = true;
} }