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:
parent
ec9ae46684
commit
9d57972cd5
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue