mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
9 lines
187 B
Bash
9 lines
187 B
Bash
addIncludePath () {
|
|
if test -d "$1/usr_include"
|
|
then
|
|
export NIX_CFLAGS_COMPILE="${NIX_CFLAGS_COMPILE} -I$1/usr_include"
|
|
fi
|
|
}
|
|
|
|
envHooks=(${envHooks[@]} addIncludePath)
|