summary refs log tree commit diff
path: root/pkgs/top-level/wine-packages.nix
diff options
context:
space:
mode:
authorKira Bruneau <kira.bruneau@gmail.com>2020-12-29 11:53:01 -0500
committerKira Bruneau <kira.bruneau@gmail.com>2021-02-15 10:35:45 -0500
commit9b7c32a9c1a1e5aa2afac315ccab7d418ca16c77 (patch)
tree0e05d8e770eab24142ddb457ccf4809dcd6ba31b /pkgs/top-level/wine-packages.nix
parentff96a0fa5635770390b184ae74debea75c3fd534 (diff)
downloadnixpkgs-9b7c32a9c1a1e5aa2afac315ccab7d418ca16c77.tar
nixpkgs-9b7c32a9c1a1e5aa2afac315ccab7d418ca16c77.tar.gz
nixpkgs-9b7c32a9c1a1e5aa2afac315ccab7d418ca16c77.tar.bz2
nixpkgs-9b7c32a9c1a1e5aa2afac315ccab7d418ca16c77.tar.lz
nixpkgs-9b7c32a9c1a1e5aa2afac315ccab7d418ca16c77.tar.xz
nixpkgs-9b7c32a9c1a1e5aa2afac315ccab7d418ca16c77.tar.zst
nixpkgs-9b7c32a9c1a1e5aa2afac315ccab7d418ca16c77.zip
winePackages: enable mingwSupport in base build
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 #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
Diffstat (limited to 'pkgs/top-level/wine-packages.nix')
-rw-r--r--pkgs/top-level/wine-packages.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/top-level/wine-packages.nix b/pkgs/top-level/wine-packages.nix
index 88ea6a00f8c..923d2b80818 100644
--- a/pkgs/top-level/wine-packages.nix
+++ b/pkgs/top-level/wine-packages.nix
@@ -27,6 +27,7 @@ rec {
     xineramaSupport = true;
     xmlSupport = true;
     sdlSupport = true;
+    mingwSupport = true;
   };
 
   full = base.override {