Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show what was upgraded after activation #17

Open
srid opened this issue Apr 12, 2023 · 2 comments
Open

Show what was upgraded after activation #17

srid opened this issue Apr 12, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@srid
Copy link
Owner

srid commented Apr 12, 2023

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 srid added the enhancement New feature or request label Apr 12, 2023
@srid
Copy link
Owner Author

srid commented Apr 12, 2023

@srid
Copy link
Owner Author

srid commented Apr 12, 2023

We could as well add an upgrade command:

nix run .#upgrade

That does the following:

  • Update the nixpkgs (and home-manager, etc.) inputs
  • Run a build of the configuration
  • Run nvd to inform user of changes
  • Do actual activation if they accept

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant