Merge pull request #250974 from K900/wine-binfmt-mask
nixos/binfmt: use PE magic to detect Wine executables
This commit is contained in:
commit
9ab379753f
|
@ -137,14 +137,8 @@ let
|
||||||
magicOrExtension = ''\x00asm'';
|
magicOrExtension = ''\x00asm'';
|
||||||
mask = ''\xff\xff\xff\xff'';
|
mask = ''\xff\xff\xff\xff'';
|
||||||
};
|
};
|
||||||
x86_64-windows = {
|
x86_64-windows.magicOrExtension = "MZ";
|
||||||
magicOrExtension = "exe";
|
i686-windows.magicOrExtension = "MZ";
|
||||||
recognitionType = "extension";
|
|
||||||
};
|
|
||||||
i686-windows = {
|
|
||||||
magicOrExtension = "exe";
|
|
||||||
recognitionType = "extension";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
Loading…
Reference in a new issue