mirror of
https://github.com/Mic92/nix-fast-build.git
synced 2024-10-05 13:47:08 +03:00
use old nix-build command
It seems that the outputs nix build --log-format raw are still different from the old nix-build
This commit is contained in:
parent
cac3e54bd4
commit
79b84aa2aa
@ -464,7 +464,7 @@ class Build:
|
||||
self, stack: AsyncExitStack, build_output: IO[str], opts: Options
|
||||
) -> int:
|
||||
proc = await stack.enter_async_context(
|
||||
nix_build(self.drv_path + "^*", build_output, opts)
|
||||
nix_build(self.drv_path, build_output, opts)
|
||||
)
|
||||
rc = 0
|
||||
for _ in range(opts.retries + 1):
|
||||
@ -564,16 +564,11 @@ class QueueWithContext(Queue[T]):
|
||||
async def nix_build(
|
||||
installable: str, stderr: IO[Any] | None, opts: Options
|
||||
) -> AsyncIterator[Process]:
|
||||
args = nix_command(
|
||||
[
|
||||
"build",
|
||||
installable,
|
||||
"--log-format",
|
||||
"raw",
|
||||
"--keep-going",
|
||||
]
|
||||
+ opts.options
|
||||
)
|
||||
args = [
|
||||
"nix-build",
|
||||
installable,
|
||||
"--keep-going",
|
||||
] + opts.options
|
||||
args = maybe_remote(args, opts)
|
||||
logger.debug("run %s", shlex.join(args))
|
||||
proc = await asyncio.create_subprocess_exec(*args, stderr=stderr)
|
||||
|
Loading…
Reference in New Issue
Block a user