nixos/benchexec: remove superfluous assertion for cgroups

This commit is contained in:
Arian van Putten 2024-07-31 12:03:34 +02:00
parent 4e4b14e3f6
commit def27f6680

View File

@ -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 ];