I just sent diff between my modified script and original script. (So, my version of the script goes first in the diff output). I had to replace ${HOME} and ~root with /root since there supposed to be the root user home directory path. 2018-03-24 19:46 GMT+03:00 Vincent Legoll : > Hello, > > > 266c266,267 > > < ln -sf /var/guix/profiles/per-user/root/guix-profile > > /root/.guix-profile > > --- > >> ln -sf /var/guix/profiles/per-user/root/guix-profile \ > >> ~root/.guix-profile > > 268c269 > > < GUIX_PROFILE="/root/.guix-profile" > > --- > >> GUIX_PROFILE="${HOME}/.guix-profile" > > > > These changes allowed me to install guix via the script. > > Why didn't you also use ${HOME} in the "ln" case ? (or "~/" in > the two cases...) > > -- > Vincent Legoll >