libtensorflow: move defaults to package file
This commit is contained in:
parent
e295651108
commit
dd23a064b1
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user