aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-04-22 10:22:52 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-04-22 10:22:52 -0700
commit42e624dbb8015a0c9c9894a3dc358f2117730795 (patch)
tree8243b38f2424a55ccdbe8a5b81ffb58039913fdb
parent6b2ff93249e3278adeb4865a26bb92ca1e7a8ed0 (diff)
downloadnix-42e624dbb8015a0c9c9894a3dc358f2117730795.tar
nix-42e624dbb8015a0c9c9894a3dc358f2117730795.tar.gz
nix-42e624dbb8015a0c9c9894a3dc358f2117730795.tar.bz2
nix-42e624dbb8015a0c9c9894a3dc358f2117730795.tar.lz
nix-42e624dbb8015a0c9c9894a3dc358f2117730795.tar.xz
nix-42e624dbb8015a0c9c9894a3dc358f2117730795.tar.zst
nix-42e624dbb8015a0c9c9894a3dc358f2117730795.zip
Switch to nvd for rebuild script
Diffstat (limited to '')
-rw-r--r--hosts/common/core/default.nix1
-rwxr-xr-xscripts/pretty-rebuild5
2 files changed, 3 insertions, 3 deletions
diff --git a/hosts/common/core/default.nix b/hosts/common/core/default.nix
index fdd5589..e63e93f 100644
--- a/hosts/common/core/default.nix
+++ b/hosts/common/core/default.nix
@@ -48,6 +48,7 @@
nix-index
nmap
ntfs3g
+ nvd
oath-toolkit
openldap
openssl
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