From 46793d98876080f0e3738b07490aece6468b0cd0 Mon Sep 17 00:00:00 2001 From: Tyson Whitehead Date: Tue, 30 May 2017 16:08:48 -0400 Subject: [PATCH] TheanoWithCuda: depend on future for older pythons #26103 --- .../python-modules/Theano/theano-with-cuda/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 f65733557cb..f8b7a713d08 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; }