1
0
Fork 0
dotfiles/system/shared/show-update-changelog.nix

10 lines
278 B
Nix

{ config, ... }:
{
system.activationScripts.show-update-changelog = ''
if [[ -e /run/current-system ]]; then
echo "[show-update-changelog] Changelog"
${config.nix.package}/bin/nix store diff-closures /run/current-system "$systemConfig" || true
fi
'';
}