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:
parent
d5ab829dbd
commit
0ee39eb06a
2 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
2017-07-24
|
||||
- test
|
||||
|
||||
2017-07-23
|
||||
- darwin entry in default the nix.nixPath was removed
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue