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
commit a71936c70f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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