telepathy-qt: fixup build with qt5

I only tested building with qt4, which turned out to be a mistake.
This commit is contained in:
Vladimír Čunát 2016-01-18 12:25:27 +01:00
parent fba7544812
commit 9fc8766eaf

View File

@ -35,7 +35,8 @@ stdenv.mkDerivation rec {
cmakeFlags = "-DDESIRED_QT_VERSION=${builtins.substring 0 1 qtbase.version}";
NIX_CFLAGS_COMPILE = [ "-Wno-error=cpp" ]; # remove after the next update
# should be removable after the next update
NIX_CFLAGS_COMPILE = [ "-Wno-error=cpp" "-Wno-error=unused-but-set-variable" ];
preBuild = ''
NIX_CFLAGS_COMPILE+=" `pkg-config --cflags dbus-glib-1`"