0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

nixos/services.thinkfan: fix undefined variables (#338951)

This commit is contained in:
Philip Taron 2024-09-03 09:18:28 -07:00 committed by GitHub
commit 7f1830f117
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ let
tuple = ts: lib.mkOptionType { tuple = ts: lib.mkOptionType {
name = "tuple"; name = "tuple";
merge = lib.mergeOneOption; 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; description = "tuple of" + lib.concatMapStrings (t: " (${t.description})") ts;
}; };
level = ints.unsigned; level = ints.unsigned;