summary refs log tree commit diff
path: root/pkgs/top-level/config.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/top-level/config.nix')
-rw-r--r--pkgs/top-level/config.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/top-level/config.nix b/pkgs/top-level/config.nix
index 5e25231d957..aa3a235553e 100644
--- a/pkgs/top-level/config.nix
+++ b/pkgs/top-level/config.nix
@@ -123,6 +123,12 @@ let
       feature = "build packages with CUDA support by default";
     };
 
+    rocmSupport = mkMassRebuild {
+      type = types.bool;
+      default = false;
+      feature = "build packages with ROCm support by default";
+    };
+
     showDerivationWarnings = mkOption {
       type = types.listOf (types.enum [ "maintainerless" ]);
       default = [];