mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
uninstaller: check nix-daemon
works after restoring
This commit is contained in:
parent
e07f08c0dc
commit
ec5fce6061
1 changed files with 2 additions and 1 deletions
|
@ -89,8 +89,9 @@ in writeShellApplication {
|
||||||
pgrep -l nix-daemon
|
pgrep -l nix-daemon
|
||||||
test -e /Library/LaunchDaemons/org.nixos.nix-daemon.plist
|
test -e /Library/LaunchDaemons/org.nixos.nix-daemon.plist
|
||||||
[[ "$(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}')" ]]
|
[[ "$(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}')" ]]
|
||||||
echo >&2 ok
|
nix-store --store daemon -q --hash ${stdenv.shell}
|
||||||
fi
|
fi
|
||||||
|
echo >&2 ok
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue