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 f65733557cb3..f8b7a713d08e 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; }