mirror of
https://gitlab.com/khumba/nvd.git
synced 2024-11-23 13:21:46 +01:00
Update the readme to use the 'diff' subcommand.
This commit is contained in:
parent
13d3ab1255
commit
1e6e419be3
1 changed files with 2 additions and 2 deletions
|
@ -17,14 +17,14 @@ coloured specially and changes to this list are reported.
|
||||||
I recommend wrapping your usual `nixos-rebuild` call in a script that compares
|
I recommend wrapping your usual `nixos-rebuild` call in a script that compares
|
||||||
the result to the current system:
|
the result to the current system:
|
||||||
|
|
||||||
nixos-rebuild build "$@" && nvd /run/current-system result
|
nixos-rebuild build "$@" && nvd diff /run/current-system result
|
||||||
|
|
||||||
Here is an example session. We can see that Nixpkgs updates have been pulled
|
Here is an example session. We can see that Nixpkgs updates have been pulled
|
||||||
in, bringing in various package updates. Firefox and cpupower have been
|
in, bringing in various package updates. Firefox and cpupower have been
|
||||||
installed explicitly in `systemPackages`, and `bpytop` has been newly added to
|
installed explicitly in `systemPackages`, and `bpytop` has been newly added to
|
||||||
the list:
|
the list:
|
||||||
|
|
||||||
$ nvd /nix/var/nix/profiles/system-{14,15}-link
|
$ nvd diff /nix/var/nix/profiles/system-{14,15}-link
|
||||||
<<< /nix/var/nix/profiles/system-14-link
|
<<< /nix/var/nix/profiles/system-14-link
|
||||||
>>> /nix/var/nix/profiles/system-15-link
|
>>> /nix/var/nix/profiles/system-15-link
|
||||||
Version changes:
|
Version changes:
|
||||||
|
|
Loading…
Reference in a new issue