mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
Revert old useBuildHook behaviour
This commit is contained in:
parent
2e77bd70fa
commit
ee3c5d7916
3 changed files with 3 additions and 3 deletions
|
@ -552,7 +552,7 @@ static void performOp(bool trusted, unsigned int clientVersion,
|
|||
settings.set("build-max-jobs", int2String(readInt(from)));
|
||||
settings.set("build-max-silent-time", int2String(readInt(from)));
|
||||
if (GET_PROTOCOL_MINOR(clientVersion) >= 2)
|
||||
if (readInt(from) != 0) settings.useBuildHook = true;
|
||||
settings.useBuildHook = readInt(from) != 0;
|
||||
if (GET_PROTOCOL_MINOR(clientVersion) >= 4) {
|
||||
settings.buildVerbosity = (Verbosity) readInt(from);
|
||||
logType = (LogType) readInt(from);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue