Merge pull request 'Add --print-build-logs to some Nix commands' (#2552) from Enzime/clan-core:push-szyyvnvymllq into main

This commit is contained in:
clan-bot
2024-12-04 00:39:39 +00:00

View File

@@ -39,6 +39,7 @@ def nix_build(flags: list[str], gcroot: Path | None = None) -> list[str]:
str(gcroot), str(gcroot),
"--print-out-paths", "--print-out-paths",
"--show-trace", "--show-trace",
"--print-build-logs",
] ]
) )
+ flags + flags
@@ -50,6 +51,7 @@ def nix_build(flags: list[str], gcroot: Path | None = None) -> list[str]:
"--no-link", "--no-link",
"--print-out-paths", "--print-out-paths",
"--show-trace", "--show-trace",
"--print-build-logs",
] ]
) )
+ flags + flags
@@ -77,6 +79,7 @@ def nix_eval(flags: list[str]) -> list[str]:
"eval", "eval",
"--show-trace", "--show-trace",
"--json", "--json",
"--print-build-logs",
] ]
) )
if os.environ.get("IN_NIX_SANDBOX"): if os.environ.get("IN_NIX_SANDBOX"):