Skip to content

Commit

Permalink
winePackages: enable mingwSupport in base build
Browse files Browse the repository at this point in the history
With mingwSupport enabled, Wine uses MinGW builds of GCC (compiled for
the i686-w64-mingw32 & x86_64-w64-mingw32 targets) to cross compile
system DLLs as PE executables.

This is used to workaround some basic anticheat software. (See NixOS#103102)

Fedora & Arch Linux also have this enabled by default in their Wine builds:
- Fedora: https://src.fedoraproject.org/rpms/wine/blob/8e216ca407b6c0f78f65f36c5b068c6452701e55/f/wine.spec#_116
- Arch Linux: https://github.com/archlinux/svntogit-community/blob/2435e762eacd989c588200d7cf57d8f4fb2e0cf3/trunk/PKGBUILD#L44
  • Loading branch information
kira-bruneau committed Feb 15, 2021
1 parent ff96a0f commit 9b7c32a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/top-level/wine-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ rec {
xineramaSupport = true;
xmlSupport = true;
sdlSupport = true;
mingwSupport = true;
};

full = base.override {
Expand Down

0 comments on commit 9b7c32a

Please sign in to comment.