libtensorflow: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:32:10 +00:00
parent e295651108
commit dd23a064b1
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{ stdenv { config, stdenv
, fetchurl , fetchurl
, patchelf , patchelf
, cudaSupport ? false, symlinkJoin, cudatoolkit, cudnn, nvidia_x11 , cudaSupport ? config.cudaSupport or false, symlinkJoin, cudatoolkit, cudnn, nvidia_x11
}: }:
with stdenv.lib; with stdenv.lib;
let let

View File

@ -915,7 +915,6 @@ in
tensor = libsForQt5.callPackage ../applications/networking/instant-messengers/tensor { }; tensor = libsForQt5.callPackage ../applications/networking/instant-messengers/tensor { };
libtensorflow = callPackage ../development/libraries/libtensorflow { libtensorflow = callPackage ../development/libraries/libtensorflow {
cudaSupport = config.cudaSupport or false;
inherit (linuxPackages) nvidia_x11; inherit (linuxPackages) nvidia_x11;
cudatoolkit = cudatoolkit_9_0; cudatoolkit = cudatoolkit_9_0;
cudnn = cudnn_cudatoolkit_9_0; cudnn = cudnn_cudatoolkit_9_0;