diff options
author | Tyson Whitehead <twhitehead@gmail.com> | 2017-05-30 16:08:48 -0400 |
---|---|---|
committer | Tyson Whitehead <twhitehead@gmail.com> | 2017-06-01 17:59:20 -0400 |
commit | 46793d98876080f0e3738b07490aece6468b0cd0 (patch) | |
tree | d769247d05acf2d9a412e48ce6d95e167f47049b /pkgs/development/python-modules/Theano | |
parent | 20730dc2805bdc030938518b90050f033ec580cd (diff) |
TheanoWithCuda: depend on future for older pythons #26103
Diffstat (limited to 'pkgs/development/python-modules/Theano')
-rw-r--r-- | pkgs/development/python-modules/Theano/theano-with-cuda/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/Theano/theano-with-cuda/default.nix b/pkgs/development/python-modules/Theano/theano-with-cuda/default.nix index f65733557cb38..f8b7a713d08e6 100644 --- a/pkgs/development/python-modules/Theano/theano-with-cuda/default.nix +++ b/pkgs/development/python-modules/Theano/theano-with-cuda/default.nix @@ -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; } |