forked from mirrors/nixpkgs
e17/e_dbus: make sure depending packages can find (propagated) dbus
This commit is contained in:
parent
4154fbfabd
commit
5431663e12
|
@ -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
|
||||
|
|
8
pkgs/desktops/e17/e_dbus/setup-hook.sh
Normal file
8
pkgs/desktops/e17/e_dbus/setup-hook.sh
Normal 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)
|
Loading…
Reference in a new issue