git.iko.soy/typeable/nixpkgs
on master help sign in
plasma53.plasma-desktop: fix missing paths
commit5560585d4c243c1d957aae40dcb3ad867e44ec52 authorThomas Tuegel <ttuegel@gmail.com> dateFri 19 Jun 2015, 10:14 (11 years ago) parent8862d8d
1 file changed+14−5
pkgs/desktops/plasma-5.3/default.nix+14−5
pkgs/desktops/plasma-5.3/default.nix+14−5
@@ -183,17 +183,26 @@ let
183183 [ canberra ]
184184 ++ (with xlibs; [ libxkbfile libXcursor libXft ]);
185185 patches = [
186− ./plasma-desktop/plasma-desktop-hwclock.patch
186+ (scope.substituteAll {
187+ src = ./plasma-desktop/plasma-desktop-hwclock.patch;
188+ hwclock = "${scope.utillinux}/sbin/hwclock";
189+ })
187190 ./plasma-desktop/plasma-desktop-zoneinfo.patch
188191 (scope.substituteAll {
189192 src = ./plasma-desktop/plasma-desktop-xkb-rules.patch;
190193 xkb = scope.xkeyboard_config;
191194 })
192195 ];
193− preConfigure = ''
194− substituteInPlace kcms/dateandtime/helper.cpp \
195− --subst-var-by hwclock "${scope.utillinux}/sbin/hwclock"
196− '';
196+ NIX_CFLAGS_COMPILE = with scope.xlibs;
197+ lib.concatStringsSep " " [
198+ "-I${xf86inputsynaptics}/include/xorg"
199+ "-I${xf86inputevdev}/include/xorg"
200+ "-I${xorgserver}/include/xorg"
201+ ];
202+ cmakeFlags = with scope.xlibs; [
203+ "-DEvdev_INCLUDE_DIRS=${xf86inputevdev}/include"
204+ "-DSynaptics_INCLUDE_DIRS=${xf86inputsynaptics}/include"
205+ ];
197206 };
198207
199208 plasma-workspace = extendDerivation super.plasma-workspace {