From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 15:54:01 2020 Received: (at 45039) by debbugs.gnu.org; 4 Dec 2020 20:54:01 +0000 Received: from localhost ([127.0.0.1]:45970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klI5Z-0004VI-7k for submit@debbugs.gnu.org; Fri, 04 Dec 2020 15:54:01 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:34398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klI5W-0004V3-Mn for 45039@debbugs.gnu.org; Fri, 04 Dec 2020 15:53:59 -0500 Received: by mail-wm1-f67.google.com with SMTP id g25so5441121wmh.1 for <45039@debbugs.gnu.org>; Fri, 04 Dec 2020 12:53:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=NRg86HQmalz5tl7frutKQ2h3H+g/FjY3ERvPbDo1sN8=; b=E870zYS08TncMDKHzlivefkWh+nhNEl5SWfrzenOUWKCVezxznAKjSVMN7Vpr1Hd1r o7XjyEcnHjUQ36eGBpcUy8taYVWPs2u7E2ZmIgP9jWuNxBk7UBhMilEGKq+L99nO+WFn Y10oPx+a6mN5/B4stYb1FI60+meNQTna9WtDUvyNyh0cLEEMIKcs/vx0aANzXqfo87aq Wen2yEMEDCccHy32lO927h3uUijbcv2ad/uxfPuQErQYJxsmu/B6ene4g3o+Sb65utNz E+9hAXF8Qy6L1Oh1YwU6t9ekLg6dEI4zg8Aa9cSaybJx0G2XldkR1MspwAQlZPpgcJp3 CN0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=NRg86HQmalz5tl7frutKQ2h3H+g/FjY3ERvPbDo1sN8=; b=eacJyDi0PiuxCkktw4gYD8HW+tCDT7IMEFDAj11sc6jqoIXjHdW7tZ9Mlp8K1q3cMs 57N8DRRPsgT8sbYENr3gPZCOixlo5NgJB9riNTRNjqUgQn08yb8xX4f8EWVMl1LkV2PT Vi9wFA48JMTJZshRQzu1L1jKgtWdssP/tQGxN/ttoGJJ5t62pEjAycdVmafHlEknr6pd 1M29A1/BM+HODbsdV36okvjpv4C1+uYv9I01PJzjqYJl2KSu/nwVvjxO1RLO/kf+FZA/ rses9XWQXaKSQk7TKea9Olt2DRGVL+zihvHg4VryDGai4MEqRYGox1eYGJ3gOrHYvKQO JHDw== X-Gm-Message-State: AOAM530Mx5hnMPlXWq+wOeQQPLrTfjKxEcm3tkKaYscu2g2kWVpv1gYe M9v/cOFgIlWHRN34bLlGxGw= X-Google-Smtp-Source: ABdhPJxkTlgmUaEmUEsanFWKkMshtDAchNXAfd8jEoj4z454fWNE+0Hi2HYMIkXFYWtOeRowK81DWQ== X-Received: by 2002:a1c:454:: with SMTP id 81mr6152205wme.178.1607115232738; Fri, 04 Dec 2020 12:53:52 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id l16sm4920397wrx.5.2020.12.04.12.53.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2020 12:53:52 -0800 (PST) From: zimoun To: Leo Famulari , Holger Peters Subject: Re: [bug#45039] [PATCH] Remove duplicate path declaration In-Reply-To: References: Date: Fri, 04 Dec 2020 21:46:01 +0100 Message-ID: <86tut1b8qe.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45039 Cc: 45039@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Leo, On Fri, 04 Dec 2020 at 14:13, Leo Famulari wrote: > On Fri, Dec 04, 2020 at 10:51:37AM +0100, Holger Peters wrote: >> * doc/guix.texi: Fixup path declaration. > >> @example >> -GUIX_PROFILE=3D"$HOME/.config/guix/current/etc/profile" >> +GUIX_PROFILE=3D"$HOME/.config/guix/current" >> . "$GUIX_PROFILE/etc/profile" >> @end example > > Thanks! That example is definitely not right... > > However, it doesn't seem right to me either that GUIX_PROFILE should > point to '~/.config/guix/current/etc/profile'. That profile won't > contain anything useful related to packages the user installs. Compare > it to the contents of '~/.guix-profile/etc/profile' to see what I mean. Well, from my understanding, doing this: GUIX_PROFILE=3D$HOME/.config/guix/current . $GUIX_PROFILE/etc/profile allows to have the guix commands that refer to the latest version =E2=80=9C= guix pull=E2=80=9D=E2=80=99ed. Moreover, you also have the last version of the= manual with: --8<---------------cut here---------------start------------->8--- export INFOPATH=3D"$HOME/.config/guix/current/share/info${INFOPATH:+:}$INFO= PATH" --8<---------------cut here---------------end--------------->8--- To me, the manual is right for this part. Maybe I am missing something. > I alo was curious about the preceding paragraph, which states "Unless > you=E2=80=99re on Guix System, the first time you run guix pull, be sure = to > follow the hint that the command prints [...]". I re-installed Guix on a > Debian system and it prints this instead: > > ------ > hint: Consider setting the necessary environment variables by running: > > GUIX_PROFILE=3D"/root/.guix-profile" > . "$GUIX_PROFILE/etc/profile" > > Alternately, see `guix package --search-paths -p "/root/.guix-profile"'. > ------ Did you run =E2=80=9Cguix pull=E2=80=9D as regular user? All the best, simon