mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
9 lines
232 B
Bash
9 lines
232 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=(${envHooks[@]} addDbusIncludePath)
|