From 40d73be8797434f7a6e124ce64ae38cd28a06fd0 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 3 Apr 2024 13:34:11 -0700 Subject: Update diff-closure command and current flake.lock --- README | 2 +- flake.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README b/README index 4384a3b..49ae434 100644 --- a/README +++ b/README @@ -57,7 +57,7 @@ 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 | sort | tail -2 | xargs) +cd /etc/nixos && nix flake update && cd && nixos-rebuild switch --upgrade && echo && nixos-rebuild list-generations | cat && echo && res=$(find /nix/var/nix/profiles -iname system-\* -type l | sort | tail -2); if [[ $(echo -E "${res}" | wc -l) -eq 2 ]]; then echo "+ diff between $(echo -E "${res}" | xargs)\n"; nix store diff-closures $(echo -E "${res}" | xargs); fi # clean up all but the two most recent systems nixos-rebuild list-generations | cat diff --git a/flake.lock b/flake.lock index c89237a..56ff815 100644 --- a/flake.lock +++ b/flake.lock @@ -22,11 +22,11 @@ ] }, "locked": { - "lastModified": 1711868868, - "narHash": "sha256-QpZanlbVu6Gb2K96u3vgu0F2BvZD74+fOsIFWcYEXoY=", + "lastModified": 1712093955, + "narHash": "sha256-94I0sXz6fiVBvUAk2tg6t3UpM5rOImj4JTSTNFbg64s=", "owner": "nix-community", "repo": "home-manager", - "rev": "30f2ec39519f4f5a8a96af808c439e730c15aeab", + "rev": "80546b220e95a575c66c213af1b09fe255299438", "type": "github" }, "original": { @@ -37,11 +37,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1711873298, - "narHash": "sha256-m/zqoQqZDIdbBTfuyrzUrhK1rrnoe8x73V0bKK0jVKM=", + "lastModified": 1712168706, + "narHash": "sha256-XP24tOobf6GGElMd0ux90FEBalUtw6NkBSVh/RlA6ik=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "599937e03ee0306ee68ae6c1949b85aecfa6aaba", + "rev": "1487bdea619e4a7a53a4590c475deabb5a9d1bfb", "type": "github" }, "original": { @@ -53,11 +53,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1711703276, - "narHash": "sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk=", + "lastModified": 1712122226, + "narHash": "sha256-pmgwKs8Thu1WETMqCrWUm0CkN1nmCKX3b51+EXsAZyY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d8fe5e6c92d0d190646fb9f1056741a229980089", + "rev": "08b9151ed40350725eb40b1fe96b0b86304a654b", "type": "github" }, "original": { -- cgit v1.2.3