mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +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 = ''
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue