From 124e1c289f39e0f43b249d361a56286d3b6d87d6 Mon Sep 17 00:00:00 2001 From: oddlama Date: Mon, 26 Feb 2024 14:57:53 +0100 Subject: [PATCH] fix: don't hardcode nvd --- pkgs/deploy.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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"