srid / nixos-flake

A flake-parts module to manage NixOS and macOS machines, along with home-manager support, in a unified fashion.
https://community.flake.parts/nixos-flake
MIT License
175 stars 19 forks source link

Show what was upgraded after activation #17

Open srid opened 1 year ago

srid commented 1 year ago

cf.

❯ > nix store diff-closures /nix/var/nix/profiles/system-151-link /nix/var/nix/profiles/system-152-link
Agda: -1755.7 KiB
ChasingBottoms: -20.8 KiB
JuicyPixels: -97.2 KiB
aeson: +84.2 KiB
aeson-pretty: -8.6 KiB
attoparsec: +18.9 KiB
bifunctors: +33.1 KiB
blaze-html: +8.1 KiB
boring: ∅ → 0.2.1
cmdargs: ∅ → 0.10.22
darwin-system: 23.05.20230406.0e19daa+darwin4.87b9d09 → 23.05.20230411.3fb8eed+darwin4.87b9d09
digest: 0.0.1.6 → 0.0.1.7
doclayout: 0.4 → 0.4.0.1, +50.5 KiB
...
srid commented 1 year ago

https://gitlab.com/khumba/nvd

srid commented 1 year ago

We could as well add an upgrade command:

nix run .#upgrade

That does the following: