Skip to content

Commit 886c2dc

Browse files
committed
uninstaller: check nix-daemon works after restoring
1 parent fc2cf85 commit 886c2dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkgs/darwin-uninstaller/default.nix

+2-1
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,9 @@ in writeShellApplication {
8989
pgrep -l nix-daemon
9090
test -e /Library/LaunchDaemons/org.nixos.nix-daemon.plist
9191
[[ "$(shasum -a 256 /Library/LaunchDaemons/org.nixos.nix-daemon.plist | awk '{print $1}')" == "$(shasum -a 256 /Library/LaunchDaemons/org.nixos.nix-daemon.plist | awk '{print $1}')" ]]
92-
echo >&2 ok
92+
nix-store --store daemon -q --hash ${stdenv.shell}
9393
fi
94+
echo >&2 ok
9495
'';
9596
};
9697
}

0 commit comments

Comments
 (0)