about summary refs log tree commit diff
path: root/pkgs/development/python-modules/Theano
diff options
context:
space:
mode:
authorTyson Whitehead <twhitehead@gmail.com>2017-05-30 16:06:16 -0400
committerTyson Whitehead <twhitehead@gmail.com>2017-06-01 17:59:16 -0400
commit20730dc2805bdc030938518b90050f033ec580cd (patch)
treef02fea674b875919c6cc980b6f7ed26e94992d20 /pkgs/development/python-modules/Theano
parent8b273b608d48989fa30a3a2fe56f362b314157b3 (diff)
downloadnixlib-20730dc2805bdc030938518b90050f033ec580cd.tar
nixlib-20730dc2805bdc030938518b90050f033ec580cd.tar.gz
nixlib-20730dc2805bdc030938518b90050f033ec580cd.tar.bz2
nixlib-20730dc2805bdc030938518b90050f033ec580cd.tar.lz
nixlib-20730dc2805bdc030938518b90050f033ec580cd.tar.xz
nixlib-20730dc2805bdc030938518b90050f033ec580cd.tar.zst
nixlib-20730dc2805bdc030938518b90050f033ec580cd.zip
TheanoWithCuda: cudnn shouldn't be optional or list wrapped #26263
* python27.withPackages drops nested propagatedBuildInputs
* not clear why cudnn was optional to begin with
Diffstat (limited to 'pkgs/development/python-modules/Theano')
-rw-r--r--pkgs/development/python-modules/Theano/theano-with-cuda/default.nix3
1 files changed, 2 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 c9ea79bef9a8..f65733557cb3 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;
 }