10 lines
278 B
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
|
|
'';
|
|
}
|