nixos/services.thinkfan: fix undefined variables
In d9dc50dc1193ad14f8534611f7280fac4a3543d0 the usage of `with lib;` has been removed from thinkfan.nix. Unfortunately, adjusting the check line and its usage of the functions all,id,zipListsWith has not been updated resulting in evaluation errors complaining about "undefined variable". Update: partly covered in 0646a0771b031c3f54d1718e6e30cc6ed8f19430 of #339084 rel: #208242
This commit is contained in:
parent
13614951fc
commit
b8c7d88784
@ -12,7 +12,7 @@ let
|
||||
tuple = ts: lib.mkOptionType {
|
||||
name = "tuple";
|
||||
merge = lib.mergeOneOption;
|
||||
check = xs: lib.all lib.id (zipListsWith (t: x: t.check x) ts xs);
|
||||
check = xs: lib.all lib.id (lib.zipListsWith (t: x: t.check x) ts xs);
|
||||
description = "tuple of" + lib.concatMapStrings (t: " (${t.description})") ts;
|
||||
};
|
||||
level = ints.unsigned;
|
||||
|
Loading…
x
Reference in New Issue
Block a user