aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-03-16 01:57:39 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-03-16 01:57:39 -0700
commit54dee8fbd404724cecd926b00b47366d6364eba9 (patch)
tree4dd4be7cb36e273911c1d20d46d9e05453d96039
parentb5b819242f366c6e43bd82fb62b14ca910139d8c (diff)
downloadnix-54dee8fbd404724cecd926b00b47366d6364eba9.tar
nix-54dee8fbd404724cecd926b00b47366d6364eba9.tar.gz
nix-54dee8fbd404724cecd926b00b47366d6364eba9.tar.bz2
nix-54dee8fbd404724cecd926b00b47366d6364eba9.tar.lz
nix-54dee8fbd404724cecd926b00b47366d6364eba9.tar.xz
nix-54dee8fbd404724cecd926b00b47366d6364eba9.tar.zst
nix-54dee8fbd404724cecd926b00b47366d6364eba9.zip
Fix sort
-rw-r--r--ginaz/README2
1 files changed, 1 insertions, 1 deletions
diff --git a/ginaz/README b/ginaz/README
index 979fcd9..373522d 100644
--- a/ginaz/README
+++ b/ginaz/README
@@ -57,4 +57,4 @@ nix-channel --add https://nixos.org/channels/nixos-unstable nixos
nixos-rebuild switch --upgrade
# later upgrades after flakes are enabled
-cd /etc/nixos && nix flake update && cd && nixos-rebuild switch --upgrade && echo && nixos-rebuild list-generations | cat && echo && nix store diff-closures $(find /nix/var/nix/profiles -iname system-\* -type l | head -2 | xargs)
+cd /etc/nixos && nix flake update && cd && nixos-rebuild switch --upgrade && echo && nixos-rebuild list-generations | cat && echo && nix store diff-closures $(find /nix/var/nix/profiles -iname system-\* -type l | sort | tail -2 | xargs)