From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tatiana Sholokhova Subject: Re: Modification for guix installation script. Date: Sat, 24 Mar 2018 20:00:58 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1139da281b7bc505682b7c4d" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ezoAI-0008BK-Ls for guix-devel@gnu.org; Sat, 24 Mar 2018 14:48:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ezneR-0002qr-3v for guix-devel@gnu.org; Sat, 24 Mar 2018 14:13:29 -0400 Received: from mail-vk0-x22d.google.com ([2607:f8b0:400c:c05::22d]:38525) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ezmXM-0001AZ-1y for guix-devel@gnu.org; Sat, 24 Mar 2018 13:01:00 -0400 Received: by mail-vk0-x22d.google.com with SMTP id b16so2472524vka.5 for ; Sat, 24 Mar 2018 10:00:59 -0700 (PDT) In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Vincent Legoll Cc: guix-devel --001a1139da281b7bc505682b7c4d Content-Type: text/plain; charset="UTF-8" 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 > --001a1139da281b7bc505682b7c4d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I just sent diff between my modified script and origi= nal script. (So, my version of the script=C2=A0goes first in the diff outpu= t). I had to replace=C2=A0${HOME} and=C2=A0~root with=C2=A0/root since there supposed to be the root user home directory pa= th.

2018= -03-24 19:46 GMT+03:00 Vincent Legoll <vincent.legoll@gmail.com= >:
Hello,

> 266c266,267
> <=C2=A0 =C2=A0 =C2=A0ln -sf /var/guix/profiles/per-user/root/g= uix-profile
> /root/.guix-profile
> ---
>>=C2=A0 =C2=A0 =C2=A0ln -sf /var/guix/profiles/per-user/root/gu= ix-profile \
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ~root/.guix-profile
> 268c269
> <=C2=A0 =C2=A0 =C2=A0GUIX_PROFILE=3D"/root/.guix-profile&= quot;
> ---
>>=C2=A0 =C2=A0 =C2=A0GUIX_PROFILE=3D"${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

--001a1139da281b7bc505682b7c4d--