nixos.sh: always use --show-trace
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
f293589381
commit
359471a2fc
1 changed files with 2 additions and 2 deletions
|
@ -41,9 +41,9 @@ _build() {
|
||||||
else
|
else
|
||||||
# Build current system
|
# Build current system
|
||||||
if [[ "${argc_builder:-}" == nh ]]; then
|
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
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue