diff --git a/pkgs/deploy.nix b/pkgs/deploy.nix index a8e19af..8edfdb1 100644 --- a/pkgs/deploy.nix +++ b/pkgs/deploy.nix @@ -1,6 +1,8 @@ { - writeShellApplication, bc, + lib, + nvd, + writeShellApplication, }: let deploy = writeShellApplication { name = "deploy"; @@ -107,7 +109,7 @@ ssh "$host" -- "$store_path"/bin/switch-to-configuration "$ACTION" \ || echo "Error while activating new system" >&2 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 time_next echo " Applied ✅ $host in ''${T_LAST}s"