show package changes during nixos-rebuild switch
This commit is contained in:
parent
24a3c22edc
commit
c21efa005f
|
@ -73,6 +73,15 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
system.activationScripts.nixClosureDiff = {
|
||||||
|
supportsDryActivation = true;
|
||||||
|
text = ''
|
||||||
|
# show which packages changed versions or are new/removed in this upgrade
|
||||||
|
# source: <https://github.com/luishfonseca/dotfiles/blob/32c10e775d9ec7cc55e44592a060c1c9aadf113e/modules/upgrade-diff.nix>
|
||||||
|
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
# XXX: twitter-color-emoji doesn't cross-compile; but not-fonts-emoji does
|
# XXX: twitter-color-emoji doesn't cross-compile; but not-fonts-emoji does
|
||||||
# fonts = {
|
# fonts = {
|
||||||
# enableDefaultFonts = true;
|
# enableDefaultFonts = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user