diff options
Diffstat (limited to 'scripts/pretty-rebuild')
-rwxr-xr-x | scripts/pretty-rebuild | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/pretty-rebuild b/scripts/pretty-rebuild index 9822acb..b90fb56 100755 --- a/scripts/pretty-rebuild +++ b/scripts/pretty-rebuild @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#!nix-shell -i zsh --packages zsh +#!nix-shell -i zsh --packages nvd zsh # sudo is used for nixos-rebuild below due to: https://github.com/NixOS/nix/issues/7154 cd /etc/nixos && \ @@ -12,6 +12,5 @@ cd /etc/nixos && \ res=$(find /nix/var/nix/profiles -iname system-\* -type l | sort | tail -2) if [[ ${?} -eq 0 && $(echo -E "${res}" | wc -l) -eq 2 ]]; then - echo "+ diff between $(echo -E "${res}" | xargs)\n" - nix store diff-closures $(echo -E "${res}" | xargs) + nvd diff $(echo -E "${res}" | xargs) fi |