all-packages.nix: pkgs.config.cudaSupport -> config.cudaSupport

This commit is contained in:
volth 2020-10-24 00:48:59 +00:00 committed by Bjørn Forsman
parent d82188bf90
commit 3dc6b14b72

View File

@ -1389,7 +1389,7 @@ in
tensor = libsForQt5.callPackage ../applications/networking/instant-messengers/tensor { };
libtensorflow-bin = callPackage ../development/libraries/science/math/tensorflow/bin.nix {
cudaSupport = pkgs.config.cudaSupport or false;
cudaSupport = config.cudaSupport or false;
inherit (linuxPackages) nvidia_x11;
cudatoolkit = cudatoolkit_10_0;
cudnn = cudnn_cudatoolkit_10_0;
@ -1402,7 +1402,7 @@ in
libtorch-bin = callPackage ../development/libraries/science/math/libtorch/bin.nix {
inherit (linuxPackages) nvidia_x11;
cudaSupport = pkgs.config.cudaSupport or false;
cudaSupport = config.cudaSupport or false;
};
behdad-fonts = callPackage ../data/fonts/behdad-fonts { };
@ -26694,7 +26694,7 @@ in
stdenv = gcc7Stdenv;
inherit (linuxPackages) nvidia_x11;
opencv3 = opencv3WithoutCuda; # Used only for image loading.
cudaSupport = pkgs.config.cudaSupport or false;
cudaSupport = config.cudaSupport or false;
};
ecm = callPackage ../applications/science/math/ecm { };