Update lib/systems/inspect.nix

Co-authored-by: Naïm Favier <n@monade.li>
This commit is contained in:
Adam Joseph 2023-01-27 11:56:20 +00:00 committed by GitHub
parent 009a3f1857
commit 9c0a3417c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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; };
};
}