1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00

Merge pull request #354 from kidonng/app

uninstaller: also remove `~/Applications/Nix Apps`
This commit is contained in:
Daiderd Jordan 2021-09-14 19:12:49 +02:00 committed by GitHub
commit d4deef8194
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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