about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/systems/inspect.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix
index 104b735826b1f..f823989f83ec4 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; };
   };
 }