From a732ed48510e711391ac1d9fdce8584c06adef64 Mon Sep 17 00:00:00 2001 From: Kid <44045911+kidonng@users.noreply.github.com> Date: Tue, 10 Aug 2021 21:41:35 +0800 Subject: [PATCH] uninstaller: also remove `~/Applications/Nix Apps` --- pkgs/darwin-uninstaller/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/darwin-uninstaller/configuration.nix b/pkgs/darwin-uninstaller/configuration.nix index 183e7801..358219fd 100644 --- a/pkgs/darwin-uninstaller/configuration.nix +++ b/pkgs/darwin-uninstaller/configuration.nix @@ -16,6 +16,8 @@ with lib; system.activationScripts.postUserActivation.text = mkAfter '' if test -L ~/Applications; then rm ~/Applications + elif test -L ~/Applications/Nix\ Apps; then + rm ~/Applications/Nix\ Apps fi if test -L ~/.nix-defexpr/channels/darwin; then