Unverified Commit 4d87af6c authored by éclairevoyant's avatar éclairevoyant
Browse files

pkgsCross.mingwW64.libxcb: fix build

parent 745d32f1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -57,6 +57,10 @@ stdenv.mkDerivation (finalAttrs: {
    tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
  };

  env = lib.optionalAttrs stdenv.hostPlatform.isMinGW {
    NIX_CFLAGS_COMPILE = toString [ "-Wno-incompatible-pointer-types" ];
  };

  meta = {
    description = "C interface to the X Window System protocol";
    homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcb";