diff options
author | Adam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com> | 2023-01-27 11:56:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 11:56:20 +0000 |
commit | 9c0a3417c8defd0b5f4b592659c88c978f8b36b6 (patch) | |
tree | c3414cbbb18ee7981c8b3337bfad94b2d3494269 /lib/systems/inspect.nix | |
parent | 009a3f1857a89c9f085b03e85410c0713a9d451f (diff) |
Update lib/systems/inspect.nix
Co-authored-by: Naïm Favier <n@monade.li>
Diffstat (limited to 'lib/systems/inspect.nix')
-rw-r--r-- | lib/systems/inspect.nix | 4 |
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; }; }; } |