forked from mirrors_public/oddlama_nix-config
fix: don't hardcode nvd
This commit is contained in:
parent
2270b10b33
commit
124e1c289f
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
||||||
{
|
{
|
||||||
writeShellApplication,
|
|
||||||
bc,
|
bc,
|
||||||
|
lib,
|
||||||
|
nvd,
|
||||||
|
writeShellApplication,
|
||||||
}: let
|
}: let
|
||||||
deploy = writeShellApplication {
|
deploy = writeShellApplication {
|
||||||
name = "deploy";
|
name = "deploy";
|
||||||
|
@ -107,7 +109,7 @@
|
||||||
ssh "$host" -- "$store_path"/bin/switch-to-configuration "$ACTION" \
|
ssh "$host" -- "$store_path"/bin/switch-to-configuration "$ACTION" \
|
||||||
|| echo "Error while activating new system" >&2
|
|| echo "Error while activating new system" >&2
|
||||||
if [[ -n "$prev_system" ]]; then
|
if [[ -n "$prev_system" ]]; then
|
||||||
ssh "$host" -- nvd --color always diff "$prev_system" "$store_path" || true
|
ssh "$host" -- ${lib.getExe nvd} --color always diff "$prev_system" "$store_path" || true
|
||||||
fi
|
fi
|
||||||
time_next
|
time_next
|
||||||
echo "[1;32m Applied [m✅ [34m$host[m [90min ''${T_LAST}s[m"
|
echo "[1;32m Applied [m✅ [34m$host[m [90min ''${T_LAST}s[m"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue