1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

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 = '' postPatch = ''
sed '1i#include <cmath>' -i kcms/touchpad/src/backends/x11/synapticstouchpad.cpp sed '1i#include <cmath>' -i kcms/touchpad/src/backends/x11/synapticstouchpad.cpp
''; '';
NIX_CFLAGS_COMPILE = [ CXXFLAGS = [
"-I${lib.getDev xorgserver}/include/xorg" "-I${lib.getDev xorgserver}/include/xorg"
''-DNIXPKGS_HWCLOCK="${lib.getBin utillinux}/sbin/hwclock"'' ''-DNIXPKGS_HWCLOCK=\"${lib.getBin utillinux}/sbin/hwclock\"''
]; ];
cmakeFlags = [ cmakeFlags = [
"-DEvdev_INCLUDE_DIRS=${lib.getDev xf86inputevdev}/include/xorg" "-DEvdev_INCLUDE_DIRS=${lib.getDev xf86inputevdev}/include/xorg"