From 1fbae7daa05e6f008c6e66b52a633263f6421f38 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Wed, 27 Sep 2023 13:28:25 -0700 Subject: [PATCH] add more instructions to diff changes --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 52d0d13..36124e4 100644 --- a/README.md +++ b/README.md @@ -77,3 +77,11 @@ $ nix run nixpkgs#nix-diff -- \ /nix/store/16n1klx5cxkjpqhrdf0k12npx3vn5042-nixos-system-baryum-23.11pre-git \ --color always | less ``` + +Also, in lieu of `nix-diff`, a nice summary of version changes can be produced with: + +```bash +nix run nixpkgs#nvd -- diff \ + /nix/store/yyw9rgn8v5jrn4657vwpg01ydq0hazgx-nixos-system-baryum-23.11pre-git \ + /nix/store/16n1klx5cxkjpqhrdf0k12npx3vn5042-nixos-system-baryum-23.11pre-git \ +```