Wine installing mingw32 compiler?

Thank you very much, I searched in the code but forgot to look at the PRs.

In my case I’d like lutris package to use wine without mingwSupport, I tried this but it fails with an error, I can’t figure out the syntax, despite some information in this old thread.

  environment.systemPackages = with pkgs; [
    (lutris.override {
        wine = (wineWowPackages.unstable.override {
            mingwSupport = false;
        });
    })
 ];

and when building I have the following error which is not very helpful

error: anonymous function at /nix/store/fj7xz1cv9c8nrvdyd6bxhwq3l55k47xc-source/pkgs/applications/misc/lutris/fhsenv.nix:1:1 called with unexpected argument 'wine'

       at /nix/store/fj7xz1cv9c8nrvdyd6bxhwq3l55k47xc-source/lib/customisation.nix:69:16:

           68|     let
           69|       result = f origArgs;
             |                ^
           70|