treewide: Don't use envHook anymore

This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
This commit is contained in:
John Ericson
2017-12-30 22:04:22 -05:00
parent a1cdc2011e
commit 046f091e0d
54 changed files with 64 additions and 80 deletions
@@ -39,4 +39,4 @@ useSystemCoreFoundationFramework () {
export NIX_COREFOUNDATION_RPATH=/System/Library/Frameworks
}
envHooks+=(useSystemCoreFoundationFramework)
addEnvHooks "$hostOffset" useSystemCoreFoundationFramework
@@ -7,4 +7,4 @@ noDeprecatedDeclarations() {
fi
}
envHooks+=(noDeprecatedDeclarations)
addEnvHooks "$hostOffset" noDeprecatedDeclarations