mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
uninstaller: fix removing /Applications/Nix Apps
This commit is contained in:
parent
eb22022ba8
commit
8eb09d4d0b
1 changed files with 4 additions and 4 deletions
|
@ -14,16 +14,16 @@ with lib;
|
|||
launchd.user.agents = mkForce {};
|
||||
|
||||
system.activationScripts.postUserActivation.text = mkAfter ''
|
||||
if test -L /Applications/Nix\ Apps; then
|
||||
rm /Applications/Nix\ Apps
|
||||
fi
|
||||
|
||||
if test -L ~/.nix-defexpr/channels/darwin; then
|
||||
nix-channel --remove darwin || true
|
||||
fi
|
||||
'';
|
||||
|
||||
system.activationScripts.postActivation.text = mkAfter ''
|
||||
if test -L /Applications/Nix\ Apps; then
|
||||
rm /Applications/Nix\ Apps
|
||||
fi
|
||||
|
||||
if test -L /etc/static; then
|
||||
rm /etc/static
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue