TheanoWithCuda: depend on future for older pythons #26103

This commit is contained in:
Tyson Whitehead 2017-05-30 16:08:48 -04:00
parent 20730dc280
commit 46793d9887
No known key found for this signature in database
GPG Key ID: B22199763A27997B

View File

@ -1,5 +1,7 @@
{ buildPythonPackage
, fetchFromGitHub
, pythonOlder
, future
, numpy
, six
, scipy
@ -57,7 +59,7 @@ buildPythonPackage rec {
cudatoolkit
libgpuarray
cudnn
];
] ++ (stdenv.lib.optional (pythonOlder "3.0") future);
passthru.cudaSupport = true;
}