From 0ee39eb06a675210431c8d5bbed24b1671e5cdbe Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Sun, 23 Jul 2017 19:22:40 +0200 Subject: activation-checks: fix changelog diff --- modules/system/activation-checks.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system') 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 "CHANGELOG" >&2 -- cgit v1.2.3