From 133993211b39907a09986b338e9394908de223f2 Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Thu, 20 Jul 2023 17:57:06 +0300 Subject: config.cudaSupport: init option --- pkgs/top-level/config.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkgs') diff --git a/pkgs/top-level/config.nix b/pkgs/top-level/config.nix index 42053ce95de71..5e25231d957c7 100644 --- a/pkgs/top-level/config.nix +++ b/pkgs/top-level/config.nix @@ -117,6 +117,12 @@ let ''; }; + cudaSupport = mkMassRebuild { + type = types.bool; + default = false; + feature = "build packages with CUDA support by default"; + }; + showDerivationWarnings = mkOption { type = types.listOf (types.enum [ "maintainerless" ]); default = []; -- cgit 1.4.1