3
0
Fork 0
forked from mirrors/nixpkgs

treewide: Make explicit that 'dev' output of xorgserver is used

This commit is contained in:
Tuomas Tynkkynen 2016-04-16 20:57:36 +03:00 committed by Vladimír Čunát
parent 51ca347278
commit 1819181726
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ plasmaPackage rec {
})
./0003-tzdir.patch
];
NIX_CFLAGS_COMPILE = [ "-I${xorgserver}/include/xorg" ];
NIX_CFLAGS_COMPILE = [ "-I${xorgserver.dev}/include/xorg" ];
cmakeFlags = [
"-DEvdev_INCLUDE_DIRS=${xf86inputevdev}/include/xorg"
"-DSynaptics_INCLUDE_DIRS=${xf86inputsynaptics}/include/xorg"

View file

@ -31,7 +31,7 @@ stdenv.mkDerivation {
buildInputs = [ mtdev xproto xextproto inputproto libpciaccess randrproto ];
buildPhase = ''
make INCLUDE="$NIX_CFLAGS_COMPILE -I${xorgserver}/include/xorg -I${pixman}/include/pixman-1 -Iinclude"
make INCLUDE="$NIX_CFLAGS_COMPILE -I${xorgserver.dev}/include/xorg -I${pixman}/include/pixman-1 -Iinclude"
'';
installPhase = ''