nixpkgs/pkgs/os-specific/darwin/apple-sdk/private-frameworks-setup-hook.sh

9 lines
218 B
Bash
Raw Normal View History

addPrivateFrameworks() {
flag="-F/System/Library/PrivateFrameworks"
if [[ "$NIX_CFLAGS_COMPILE" != *$flag* ]]; then
NIX_CFLAGS_COMPILE+=" $flag"
fi
}
addEnvHooks "$hostOffset" addPrivateFrameworks