nixos/binfmt: improve type annotations

This commit is contained in:
LuoChen 2023-09-08 19:23:53 +08:00
parent 2c9e9de1fe
commit 9c5afb2f9a
No known key found for this signature in database

View File

@ -279,7 +279,7 @@ in {
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.
'';
type = types.listOf types.str;
type = types.listOf (types.enum (builtins.attrNames magics));
};
};
};