How can you dig deeper than a closure diff?

This would seem to be a typical diff between system upgrades:

Version changes:
[U*]  #1  firefox             143.0.3 -> 143.0.4
[U.]  #2  firefox-unwrapped   143.0.3 -> 143.0.4
[U.]  #3  initrd-linux        6.17 -> 6.17.1
[U.]  #4  linux               6.17, 6.17-modules, 6.17-modules-shrunk -> 6.17.1, 6.17.1-modules, 6.17.1-modules-shrunk
[U.]  #5  nixos-system-nixos  25.05.810767.3bcc93c5f7a4 -> 25.05.810995.5da4a26309e7
Closure size: 1875 -> 1875 (34 paths added, 34 paths removed, delta +0, disk usage -29.6KiB).

Is there any way to unpack what changed inside that “nixos-system-nixos” item?

I mean with nix tooling or at least something nicer than diff -r on the store paths.

Thanks!

GitHub - Gabriella439/nix-diff: Explain why two Nix derivations differ can be used for digging into specific derivations.

3 Likes