Unverified Commit da061e11 authored by Matteo Pacini's avatar Matteo Pacini Committed by GitHub
Browse files

pkgsCross.mingwW64.libxcb: fix build (#456656)

parents a8ae0796 4d87af6c
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";