1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 02:37:09 +00:00

activation-checks: fix changelog diff

This commit is contained in:
Daiderd Jordan 2017-07-23 19:22:40 +02:00
parent d5ab829dbd
commit 0ee39eb06a
No known key found for this signature in database
GPG key ID: D02435D05B810C96
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
2017-07-24
- test
2017-07-23
- darwin entry in default the nix.nixPath was removed

View file

@ -5,7 +5,7 @@ with lib;
let
darwinChanges = ''
if test -e /run/current-system/darwin-changes; then
darwinChanges=$(grep -v -f /run/current-system/darwin-changes $systemConfig/darwin-changes 2> /dev/null) || true
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
echo "CHANGELOG" >&2