2 questions about flake upgrading packages

I update packages using: nix profile upgrade ‘.*’ (flakes)
how do I?

  1. do a dry-run to see what packages will be updated
  2. see what packages are being updated.
    With nix-env I can do: nix-env --upgrade --dry-run

Thanks in advance.


nix profile history is related. Otherwise I don’t know of a way.

‘nix profile history’ - solves my problem of what has been updated.
Looks like there is no way to do a dry run.

Thanks again

I see an open issue containing that: Add --dry-run to all the new nix commands · Issue #7227 · NixOS/nix · GitHub

Thanks for mentioning my feature request. I’ve updated it to mention nix profile upgrade explicitly too.