From 9c29945531c58ad81f05cd1f4958c8894a733216 Mon Sep 17 00:00:00 2001 From: Jake Hamilton Date: Wed, 12 Jun 2024 22:03:49 -0700 Subject: [PATCH] fix: use type name for tagged type --- potluck/src/lib/systems.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/potluck/src/lib/systems.nix b/potluck/src/lib/systems.nix index 63156af..480b37f 100644 --- a/potluck/src/lib/systems.nix +++ b/potluck/src/lib/systems.nix @@ -8,7 +8,7 @@ setTypes = type: let assign = name: value: assert lib.errors.trace (type.check value) "${name} is not of type ${type.name}: ${lib.generators.pretty {} value}"; - lib.types.set name ({inherit name;} // value); + lib.types.set type.name ({inherit name;} // value); in builtins.mapAttrs assign;