Re: XDG_DATA_DIRS issue in execution environment on LTSP

2019-03-28 Thread Meiyo Peng
Hi, Meiyo Peng writes: > #+begin_src fish > if status is-login || status is-interactive > set -gx MY_PROFILE "$HOME/.guix-profile" > > # Guix on foreign distros. > # This test is a dirty hack. > if test -d /var/guix && ! test -L /run/current-system > # Environm

Re: XDG_DATA_DIRS issue in execution environment on LTSP

2019-03-28 Thread Meiyo Peng
Hi Giovanni, Giovanni Biscuolo writes: >> #+begin_src fish >> if status is-login || status is-interactive >> set -gx MY_PROFILE "$HOME/.guix-profile" >> >> # Guix on foreign distros. >> # This test is a dirty hack. >> if test -d /var/guix && ! test -L /run/current-system

Re: XDG_DATA_DIRS issue in execution environment on LTSP

2019-03-28 Thread Meiyo Peng
Hi Giovanni, Giovanni Biscuolo writes: > I want to share this issue and show my "workaround" to fix it, please > send your comments on alternative ways or other caveats you may find in > my reasoning Thank you for sharing you experience with us. > I'm running Guix on top of Debian/stretch, rece

Re: XDG_DATA_DIRS issue in execution environment on LTSP

2019-03-28 Thread Giovanni Biscuolo
Hi Meiyo, Meiyo Peng writes: [...] > According to the XDG Base Directory Specification [1]: > > #+begin_quote > If $XDG_DATA_DIRS is either not set or empty, a value equal to > /usr/local/share/:/usr/share/ should be used. > If $XDG_CONFIG_DIRS is either not set or empty, a value equal to

XDG_DATA_DIRS issue in execution environment on LTSP

2019-03-27 Thread Giovanni Biscuolo
Hello, I want to share this issue and show my "workaround" to fix it, please send your comments on alternative ways or other caveats you may find in my reasoning I'm running Guix on top of Debian/stretch, recently I made Guix environment the default execution one for my console and graphical appl