nixpkgs/pkgs/development/python-modules/torch
Someone Serge 471dbe9bcf
treewide: consume config.cudaSupport as required
Eliminate uses of `config.cudaSupport or false` and alike, since the
option is now declared in config.nix with a default value

fd .nix -t f -x sed 's/config\.cudaSupport or false, cudaPackages [?] [{][}]/config.cudaSupport, cudaPackages ? { }/' '{}' -i
fd .nix -t f -x sed 's/config\.cudaSupport or false/config.cudaSupport/' '{}' -i
fd .nix -t f -x sed 's/cudaSupport = pkgs.config.cudaSupport/inherit (pkgs.config) cudaSupport/' '{}' -i
fd .nix -t f -x sed 's/cudaSupport = config.cudaSupport/inherit (config) cudaSupport/' '{}' -i
2023-07-20 18:08:19 +03:00
..
bin.nix python3Packages.torch-bin: remove useless patchelf 2023-06-09 08:59:28 +02:00
binary-hashes.nix
default.nix treewide: consume config.cudaSupport as required 2023-07-20 18:08:19 +03:00
prefetch.sh
pthreadpool-disable-gcd.diff