diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-11T11·55+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-11T11·55+0200 |
commit | e196eecbe6552d5afed89ad480544c90cf959922 (patch) | |
tree | 3b919f7e5e40c830dbb218be10ba96de5cb1b05d /src/libstore/globals.cc | |
parent | d0eb970fb4d3b5c347506b77f9657fc5eb6229e2 (diff) |
Allow $NIX_BUILD_HOOK to be relative to Nix libexec directory
Diffstat (limited to 'src/libstore/globals.cc')
-rw-r--r-- | src/libstore/globals.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc index 8bffdd73f7f7..b9d028be9654 100644 --- a/src/libstore/globals.cc +++ b/src/libstore/globals.cc @@ -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; |