From 86396163c3b072cf64a769a2dbe20166d130b1c3 Mon Sep 17 00:00:00 2001 From: Myned Date: Tue, 7 Jan 2025 21:51:22 -0600 Subject: [PATCH] nixos.sh: add --show-target to remote build command Signed-off-by: Myned --- options/custom/scripts/nixos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options/custom/scripts/nixos.sh b/options/custom/scripts/nixos.sh index 9dc691b..5723857 100644 --- a/options/custom/scripts/nixos.sh +++ b/options/custom/scripts/nixos.sh @@ -37,7 +37,7 @@ _build() { # Build and send closures to remote machine if [[ "${argc_target:-}" ]]; then - nixos-rebuild --flake ".#${argc_target}" --target-host "root@${argc_target}" "$1" ${argc_extra:+"${argc_extra[@]}"} + nixos-rebuild --flake ".#${argc_target}" --target-host "root@${argc_target}" "$1" -- --show-trace ${argc_extra:+"${argc_extra[@]}"} else # Build current system if [[ "${argc_builder:-}" == nh ]]; then