mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
Merge pull request #734 from Enzime/uninstall-nix-apps
uninstaller: fix removing `/Applications/Nix Apps`
This commit is contained in:
commit
43ce086813
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