nixpkgs/pkgs/desktops/e17/e_dbus/setup-hook.sh
2014-08-09 12:47:05 +02:00

9 lines
218 B
Bash

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+=(addDbusIncludePath)