From 359471a2fcc65047e50f2a2415eeea32962175f3 Mon Sep 17 00:00:00 2001 From: Myned Date: Mon, 23 Dec 2024 13:01:04 -0500 Subject: [PATCH] nixos.sh: always use --show-trace Signed-off-by: Myned --- options/custom/scripts/nixos.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/options/custom/scripts/nixos.sh b/options/custom/scripts/nixos.sh index aafebb8..9dc691b 100644 --- a/options/custom/scripts/nixos.sh +++ b/options/custom/scripts/nixos.sh @@ -41,9 +41,9 @@ _build() { else # Build current system if [[ "${argc_builder:-}" == nh ]]; then - nh os "$1" -- ${argc_extra:+"${argc_extra[@]}"} + nh os "$1" -- --show-trace ${argc_extra:+"${argc_extra[@]}"} elif [[ "${argc_builder:-}" == nixos ]]; then - sudo nixos-rebuild "$1" ${argc_extra:+"${argc_extra[@]}"} + sudo nixos-rebuild "$1" --show-trace ${argc_extra:+"${argc_extra[@]}"} fi fi