1
1
Fork 0

nixos.sh: always use --show-trace

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-12-23 13:01:04 -05:00
parent f293589381
commit 359471a2fc
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -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