diff options
author | Jan Malakhovski <oxij@oxij.org> | 2019-02-03 15:32:15 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2019-02-03 15:32:15 +0000 |
commit | 31aa884b7f9108103e244ade50fe3c9ce4d6b9c3 (patch) | |
tree | d5128861ff53b8bffb2a70fc8c2422b6290b5194 /pkgs/applications/science/math/caffe | |
parent | 49148a3ea264bf89db13879c6f3bbeba43dad1bb (diff) |
caffe: move defaults to package file
Diffstat (limited to 'pkgs/applications/science/math/caffe')
-rw-r--r-- | pkgs/applications/science/math/caffe/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/science/math/caffe/default.nix b/pkgs/applications/science/math/caffe/default.nix index e56c63e01bf03..c0c26d6e453c2 100644 --- a/pkgs/applications/science/math/caffe/default.nix +++ b/pkgs/applications/science/math/caffe/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, runCommand +{ config, stdenv, lib, runCommand , fetchFromGitHub , fetchurl , cmake @@ -13,8 +13,8 @@ , Accelerate, CoreGraphics, CoreVideo , lmdbSupport ? true, lmdb , leveldbSupport ? true, leveldb, snappy -, cudaSupport ? stdenv.isLinux, cudatoolkit -, cudnnSupport ? false, cudnn ? null +, cudaSupport ? config.cudaSupport or false, cudatoolkit +, cudnnSupport ? cudaSupport, cudnn ? null , ncclSupport ? false, nccl ? null , pythonSupport ? false, python ? null, numpy ? null }: |