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-08-10 18:22:07 -04:00
parent a1cdc2011e
commit 046f091e0d
54 changed files with 64 additions and 80 deletions

View File

@@ -12,7 +12,7 @@ toPythonPath() {
echo $result
}
envHooks+=(addPythonPath)
addEnvHooks "$hostOffset" addPythonPath
# Determinism: The interpreter is patched to write null timestamps when compiling python files.
# This way python doesn't try to update them when we freeze timestamps in nix store.