1
0
Fork 0
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:
Daiderd Jordan 2017-08-01 22:59:19 +02:00
parent a4b604cdbf
commit c24f744cd3
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -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 ''