@@ -13,6 +13,7 @@ import core.cpuid : threadsPerCPU;
1313import std.process : pipeProcess, wait, Redirect, kill;
1414import std.exception : enforce;
1515import std.format : fmt = format;
16+ import std.logger : tracef;
1617
1718import mcl.utils.env : optional, MissingEnvVarsException, parseEnv;
1819import mcl.utils.string : enumToString, StringRepresentation, MaxWidth, writeRecordAsTable;
@@ -210,12 +211,17 @@ Package[] nixEvalJobs(Params params, SupportedSystem system, string cachixUrl, b
210211
211212 int maxMemoryMB = getAvailableMemoryMB();
212213 int maxWorkers = getNixEvalWorkerCount();
213- auto pipes = pipeProcess([
214+
215+ const args = [
214216 " nix-eval-jobs" , " --quiet" , " --option" , " warn-dirty" , " false" ,
215217 " --check-cache-status" , " --gc-roots-dir" , gcRootsDir, " --workers" ,
216218 maxWorkers.to! string , " --max-memory-size" , maxMemoryMB.to! string ,
217219 " --flake" , rootDir ~ " #" ~ flakeAttr
218- ], Redirect.stdout | Redirect.stderr);
220+ ];
221+
222+ tracef(" %-(%s %)" , args);
223+
224+ auto pipes = pipeProcess(args, Redirect.stdout | Redirect.stderr);
219225 foreach (line; pipes.stdout.byLine)
220226 {
221227 if (line.indexOf(" error:" ) != - 1 )
0 commit comments