about summary refs log tree commit diff
path: root/ops/deploy-whitby/deploy-whitby.sh
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-01-12T14·57+0300
committerclbot <clbot@tvl.fyi>2022-01-13T08·14+0000
commit9c025d62a067756d1f32c07ff4dc485942368c6f (patch)
treebfab6dd267f9d09d76b8588e257e5a5d09485bab /ops/deploy-whitby/deploy-whitby.sh
parentd99132f45acb620a4de329432297962d74f9e457 (diff)
refactor(deploy-whitby): use nvd instead of nix-diff r/3589
nvd only shows us changed versions of packages, as well as
added/removed packages, which means that for the majority of depot
packages nothing will be displayed

however, the current output of nix-diff is not usable anyways, so
having something that can be looked at is better than nothing

Change-Id: Iefbd8139c7ccf5c88ed1209897abdb2ae9302e91
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4868
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'ops/deploy-whitby/deploy-whitby.sh')
-rwxr-xr-xops/deploy-whitby/deploy-whitby.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/deploy-whitby/deploy-whitby.sh b/ops/deploy-whitby/deploy-whitby.sh
index e41ec681f170..756aa7ae0801 100755
--- a/ops/deploy-whitby/deploy-whitby.sh
+++ b/ops/deploy-whitby/deploy-whitby.sh
@@ -35,7 +35,7 @@ current=$(nix show-derivation /run/current-system | jq -r 'keys | .[0]')
 new=$(nix-instantiate -A ops.nixos.whitbySystem "$worktree_dir")
 
 diff_filename="$(drv_hash "$current")..$(drv_hash "$new").html"
-nix-diff "$current" "$new" --color always \
+nvd --color always diff "$current" "$new" \
     | ansi2html \
     >| "$HTML_ROOT/diff/$diff_filename"
 chmod a+r "$HTML_ROOT/diff/$diff_filename"