mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Pass verbosity level to build hook
This commit is contained in:
parent
227a48f86f
commit
b986c7f8b1
2 changed files with 10 additions and 6 deletions
|
@ -614,10 +614,11 @@ HookInstance::HookInstance()
|
|||
throw SysError("dupping builder's stdout/stderr");
|
||||
|
||||
Strings args = {
|
||||
baseNameOf(buildHook),
|
||||
baseNameOf(settings.buildHook),
|
||||
settings.thisSystem,
|
||||
(format("%1%") % settings.maxSilentTime).str(),
|
||||
(format("%1%") % settings.buildTimeout).str()
|
||||
std::to_string(settings.maxSilentTime),
|
||||
std::to_string(settings.buildTimeout),
|
||||
std::to_string(verbosity)
|
||||
};
|
||||
|
||||
execv(buildHook.c_str(), stringsToCharPtrs(args).data());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue