Parse to a meaningful format in the nix output stream before hitting the running build.
This commit is contained in:
@@ -33,7 +33,7 @@ where
|
||||
reference
|
||||
};
|
||||
|
||||
let mut command = Command::new("nixos-rebuild");
|
||||
let mut command = Command::new("nix");
|
||||
command.current_dir(build_path);
|
||||
command.stdout(Stdio::piped());
|
||||
command.stderr(Stdio::piped());
|
||||
@@ -41,7 +41,6 @@ where
|
||||
command.args([
|
||||
"build",
|
||||
"--show-trace",
|
||||
"--sudo",
|
||||
"--max-jobs",
|
||||
"1",
|
||||
"--log-format",
|
||||
@@ -49,7 +48,6 @@ where
|
||||
"-vvvvvvvvvvv",
|
||||
"--keep-going",
|
||||
]);
|
||||
command.arg("--flake");
|
||||
command.arg(reference);
|
||||
command.kill_on_drop(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user