plasma-desktop: Fix build with qt 5.10

This commit is contained in:
adisbladis 2018-01-16 21:38:22 +08:00
parent ec9ae46684
commit 9d57972cd5
No known key found for this signature in database
GPG Key ID: ED58F95069B004F5

View File

@ -34,9 +34,9 @@ mkDerivation rec {
postPatch = ''
sed '1i#include <cmath>' -i kcms/touchpad/src/backends/x11/synapticstouchpad.cpp
'';
NIX_CFLAGS_COMPILE = [
CXXFLAGS = [
"-I${lib.getDev xorgserver}/include/xorg"
''-DNIXPKGS_HWCLOCK="${lib.getBin utillinux}/sbin/hwclock"''
''-DNIXPKGS_HWCLOCK=\"${lib.getBin utillinux}/sbin/hwclock\"''
];
cmakeFlags = [
"-DEvdev_INCLUDE_DIRS=${lib.getDev xf86inputevdev}/include/xorg"