mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-31 04:04:45 +00:00
activation-checks: show initial changelog
This commit is contained in:
parent
a4b604cdbf
commit
c24f744cd3
1 changed files with 11 additions and 8 deletions
|
@ -4,7 +4,11 @@ with lib;
|
|||
|
||||
let
|
||||
darwinChanges = ''
|
||||
darwinChanges=/dev/null
|
||||
if test -e /run/current-system/darwin-changes; then
|
||||
darwinChanges=/run/current-system/darwin-changes
|
||||
fi
|
||||
|
||||
darwinChanges=$(diff --changed-group-format='%>' --unchanged-group-format= /run/current-system/darwin-changes $systemConfig/darwin-changes 2> /dev/null) || true
|
||||
if test -n "$darwinChanges"; then
|
||||
echo >&2
|
||||
|
@ -13,7 +17,6 @@ let
|
|||
echo "$darwinChanges" >&2
|
||||
echo >&2
|
||||
fi
|
||||
fi
|
||||
'';
|
||||
|
||||
buildUsers = optionalString config.services.nix-daemon.enable ''
|
||||
|
|
Loading…
Add table
Reference in a new issue