shell: prevent crashing of non-Guix apps on foreign distros
authorAmin Bandali <bandali@gnu.org>
Tue, 31 Mar 2020 16:43:07 +0000 (12:43 -0400)
committerAmin Bandali <bandali@gnu.org>
Tue, 31 Mar 2020 16:43:07 +0000 (12:43 -0400)
.profile

index 7b287dc..8df286c 100644 (file)
--- a/.profile
+++ b/.profile
@@ -60,6 +60,7 @@ if [ -z "$IS_GUIX_SYSTEM" ]; then
         fi
         GUIX_PROFILE="$HOME/.guix-profile"
         . "$GUIX_PROFILE/etc/profile"
+        unset XDG_DATA_DIRS
     fi
 fi