mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
nixos/services.thinkfan: fix undefined variables
Ind9dc50dc11
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 in0646a0771b
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…
Reference in a new issue