diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix index 104b735826b1..f823989f83ec 100644 --- a/lib/systems/inspect.nix +++ b/lib/systems/inspect.nix @@ -97,7 +97,7 @@ rec { # that `lib.meta.availableOn` can distinguish them from the patterns which # apply only to the `parsed` field. - platformPatterns = { - isStatic = { parsed = {}; isStatic = true; }; + platformPatterns = mapAttrs (_: p: { parsed = {}; } // p) { + isStatic = { isStatic = true; }; }; }