3
0
Fork 0
forked from mirrors/nixpkgs

e17/e_dbus: make sure depending packages can find (propagated) dbus

This commit is contained in:
Mathijs Kwik 2013-03-31 14:45:14 +02:00
parent 4154fbfabd
commit 5431663e12
2 changed files with 9 additions and 0 deletions

View file

@ -9,6 +9,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ pkgconfig zlib libjpeg expat ecore eina evas ];
propagatedBuildInputs = [ dbus_libs ];
setupHook = ./setup-hook.sh;
configureFlags = ''
--disable-edbus-test
--disable-edbus-test-client

View file

@ -0,0 +1,8 @@
addDbusIncludePath () {
if test -d "$1/include/dbus-1.0"
then
export NIX_CFLAGS_COMPILE="${NIX_CFLAGS_COMPILE} -I$1/include/dbus-1.0 -I $1/lib/dbus-1.0/include"
fi
}
envHooks=(${envHooks[@]} addDbusIncludePath)