From 0646a0771b031c3f54d1718e6e30cc6ed8f19430 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Mon, 2 Sep 2024 21:12:56 +0200 Subject: [PATCH] nixos/services.thinkfan: fix `all` & `id` --- nixos/modules/services/hardware/thinkfan.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/hardware/thinkfan.nix b/nixos/modules/services/hardware/thinkfan.nix index 9dd4c5434211..1cc5ef390aab 100644 --- a/nixos/modules/services/hardware/thinkfan.nix +++ b/nixos/modules/services/hardware/thinkfan.nix @@ -12,7 +12,7 @@ let tuple = ts: lib.mkOptionType { name = "tuple"; merge = lib.mergeOneOption; - check = xs: all id (zipListsWith (t: x: t.check x) ts xs); + check = xs: lib.all lib.id (zipListsWith (t: x: t.check x) ts xs); description = "tuple of" + lib.concatMapStrings (t: " (${t.description})") ts; }; level = ints.unsigned;