Merge pull request #254027 from luochen1990/feature-better-binfmt

nixos/binfmt: improve type annotations
This commit is contained in:
Janne Heß
2023-09-09 17:24:53 +02:00
committed by GitHub

View File

@@ -279,7 +279,7 @@ in {
support your new systems. support your new systems.
Warning: the builder can execute all emulated systems within the same build, which introduces impurities in the case of cross compilation. Warning: the builder can execute all emulated systems within the same build, which introduces impurities in the case of cross compilation.
''; '';
type = types.listOf types.str; type = types.listOf (types.enum (builtins.attrNames magics));
}; };
}; };
}; };