anchor.diff:    inherit name src configureFlags;
   
     # Fixes "Compiler cannot create executables" building wineWow with mingwSupport
  -  # FIXME Breaks wineStaging builds
  -  strictDeps = supportFlags.mingwSupport;
  +  strictDeps = true;
   
     nativeBuildInputs = [
  -    pkgconfig fontforge makeWrapper flex bison
  +    bison
  +    flex
  +    fontforge
  +    makeWrapper
  +    pkg-config
  +
  +    # Required by staging
  +    autoconf
  +    hexdump
  +    perl
     ]
     ++ lib.optionals supportFlags.mingwSupport mingwGccs;
   
     buildInputs = toBuildInputs pkgArches (with supportFlags; (pkgs:
  -  [ pkgs.freetype ]
  +  [ pkgs.freetype pkgs.perl pkgs.xorg.libX11 ]
     ++ lib.optional stdenv.isLinux         pkgs.libcap
     ++ lib.optional pngSupport             pkgs.libpng
     ++ lib.optional jpegSupport            pkgs.libjpeg
  
positive.code: { stdenv, lib, pkgArches, callPackage,
    name, version, src, mingwGccs, monos, geckos, platforms,
    pkgconfig, fontforge, makeWrapper, flex, bison,
    supportFlags,
    patches,
    buildScript ? null, configureFlags ? []
  
negative.code:   ])
    ++ lib.optionals stdenv.isLinux  (with pkgs.xorg; [
       libXi libXcursor libXrandr libXrender libXxf86vm libXcomposite libXext
    ])));
  
    patches = [ ] ++ patches';
  
  