From def27f6680b628c5189ebe2c366f3f03b8c6befd Mon Sep 17 00:00:00 2001 From: Arian van Putten Date: Wed, 31 Jul 2024 12:03:34 +0200 Subject: [PATCH] nixos/benchexec: remove superfluous assertion for cgroups --- nixos/modules/programs/benchexec.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/nixos/modules/programs/benchexec.nix b/nixos/modules/programs/benchexec.nix index 652670c117ea..08ee67ca90ae 100644 --- a/nixos/modules/programs/benchexec.nix +++ b/nixos/modules/programs/benchexec.nix @@ -59,14 +59,7 @@ in ''; }) (builtins.filter builtins.isInt cfg.users) - ) ++ [ - { - assertion = config.systemd.enableUnifiedCgroupHierarchy == true; - message = '' - The BenchExec module `${opt.enable}` only supports control groups 2 (`${options.systemd.enableUnifiedCgroupHierarchy} = true`). - ''; - } - ]; + ); environment.systemPackages = [ cfg.package ];