Hello fellow #NixOS users.
Is there a way to get a list of package updates à la
checkupdates without rebuilding one's configuration(i.e rebuild-{switch,build,boot} etc?

nix-olde takes a lotta time to achieve this...

@zstg

https://github.com/arianvp/nixos-stuff/blob/master/modules/diff.nix

And then can run `nixos-rebuild switch --dry-activate` to get the overview of package bumps

nixos-stuff/modules/diff.nix at master · arianvp/nixos-stuff

Nixos stuff. Contribute to arianvp/nixos-stuff development by creating an account on GitHub.

GitHub
@zstg can also do a `nixos-rebuild build` and do the diff outside on the result
@arianvp oh, but I do not want to perform a full rebuild.

@zstg in theory the /run/current-system/ could be diffed against the next generation, but the next generation needs to be build first?

I use nh os rebuild --update --dry to check updates. nh in combination with nvd creates a nice list of version changes/deletions/etc.

// @arianvp

@andi242 @zstg yes. You can diff on the derivation level without building with `nix store diff-closures --derivation /run/current-system .#nixosConfigurations.mymachine.config.system.build.toplevel`

@arianvp wow! that works! thank you 😃

// @zstg