1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

Allow $NIX_BUILD_HOOK to be relative to Nix libexec directory

This commit is contained in:
Eelco Dolstra 2014-07-11 13:55:06 +02:00
parent d0eb970fb4
commit e196eecbe6
2 changed files with 5 additions and 3 deletions

View file

@ -38,7 +38,7 @@ Settings::Settings()
thisSystem = SYSTEM;
maxSilentTime = 0;
buildTimeout = 0;
useBuildHook = true;
useBuildHook = getEnv("NIX_BUILD_HOOK") != "";
printBuildTrace = false;
reservedSize = 1024 * 1024;
fsyncMetadata = true;