diff options
author | Janne Heß <dasJ@users.noreply.github.com> | 2023-09-09 17:24:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-09 17:24:53 +0200 |
commit | a71936c70fbd418e09e8afac4ad0bf98ada865a8 (patch) | |
tree | 5fbe7ac9d68207f58524ab958a0c6d605ab40de3 /nixos/modules/system/boot | |
parent | 839cdaa190c7fbb6234ea6f6e5e0ce6ac35c8543 (diff) | |
parent | 9c5afb2f9acdd7d9eb15b8fe1689cd91af05ed8c (diff) |
Merge pull request #254027 from luochen1990/feature-better-binfmt
nixos/binfmt: improve type annotations
Diffstat (limited to 'nixos/modules/system/boot')
-rw-r--r-- | nixos/modules/system/boot/binfmt.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/binfmt.nix b/nixos/modules/system/boot/binfmt.nix index fb7afce4a5808..8c9483f01c102 100644 --- a/nixos/modules/system/boot/binfmt.nix +++ b/nixos/modules/system/boot/binfmt.nix @@ -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)); }; }; }; |