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; }