From 20730dc2805bdc030938518b90050f033ec580cd Mon Sep 17 00:00:00 2001 From: Tyson Whitehead Date: Tue, 30 May 2017 16:06:16 -0400 Subject: [PATCH] TheanoWithCuda: cudnn shouldn't be optional or list wrapped #26263 * python27.withPackages drops nested propagatedBuildInputs * not clear why cudnn was optional to begin with --- .../python-modules/Theano/theano-with-cuda/default.nix | 3 ++- 1 file changed, 2 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 c9ea79bef9a..f65733557cb 100644 --- a/pkgs/development/python-modules/Theano/theano-with-cuda/default.nix +++ b/pkgs/development/python-modules/Theano/theano-with-cuda/default.nix @@ -56,7 +56,8 @@ buildPythonPackage rec { pycuda cudatoolkit libgpuarray - ] ++ (stdenv.lib.optional (cudnn != null) [ cudnn ]); + cudnn + ]; passthru.cudaSupport = true; }