deploy: use nom for watching output.. but use portable error redierct
This commit is contained in:
parent
00496a08f6
commit
6f360711c5
@ -27,7 +27,7 @@ rebuild() {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
nixos-rebuild ${TRACE} --flake .#${1} --build-host root@${host} --target-host root@${host} switch |& nom
|
nixos-rebuild ${TRACE} --flake .#${1} --build-host root@${host} --target-host root@${host} switch 2>&1 | nom
|
||||||
return $?
|
return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -120,7 +120,7 @@ if [ "$1" = "install" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "local" ]; then
|
if [ "$1" = "local" ]; then
|
||||||
sudo nixos-rebuild ${TRACE} --flake .#$(uname -n) switch |& nom
|
sudo nixos-rebuild ${TRACE} --flake .#$(uname -n) switch 2>&1 | nom
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user