LogoKyle Sferrazza

Nix

Diffing system builds

Build with nixos-rebuild build and then run the following to see the package versions that will change when you switch:

nix store diff-closures /run/current-system ./result

Other useful utilities

nix-tree will let you see a tree of required store paths, and can be used on a system build:

nix-tree ./result

On this page