summary refs log tree commit diff
path: root/pkgs/desktops/e17/e_dbus/setup-hook.sh
blob: 33e3a6b0f18ef9b38027b1f209eac101dadaa8f2 (plain) (blame)
1
2
3
4
5
6
7
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+=(addDbusIncludePath)