diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2017-07-23 19:22:40 +0200 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2017-07-23 19:22:40 +0200 |
| commit | 0ee39eb06a675210431c8d5bbed24b1671e5cdbe (patch) | |
| tree | ff0b48b763abcb0d4ff08301772920654e97c217 /modules | |
| parent | d5ab829dbd39665c94cc4f38640f82b435842828 (diff) | |
activation-checks: fix changelog diff
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/system/activation-checks.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/activation-checks.nix b/modules/system/activation-checks.nix index 792eda8..eefe2aa 100644 --- a/modules/system/activation-checks.nix +++ b/modules/system/activation-checks.nix @@ -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 "[1;1mCHANGELOG[0m" >&2 |
