From 67f7a6e6c0a1d7b0f919c9a5c58ac44e8f6e8ef1 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Wed, 6 Mar 2024 23:05:20 +0100 Subject: [PATCH] Show diff between revisions (Add nix profile method) --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index cdb3df7..d2e26ca 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,13 @@ nixos-rebuild switch --flake flake_path_directory#hostname nix flake update --extra-experimental-features "nix-command flakes" ``` +## Show changements between revisions + + +```bash +nix profile diff-closures --profile /nix/var/nix/profiles/system +``` + ```bash nix store diff-closures /nix/var/nix/profiles/system-rev1-link /nix/var/nix/profiles/system-rev2-link ```