From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kIRcFjClyl8rAwAA0tVLHw (envelope-from ) for ; Fri, 04 Dec 2020 21:08:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ENkdEjClyl/nJgAAbx9fmQ (envelope-from ) for ; Fri, 04 Dec 2020 21:08:00 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E7FB4940484 for ; Fri, 4 Dec 2020 21:07:59 +0000 (UTC) Received: from localhost ([::1]:38992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klIJ4-0006Gg-UK for larch@yhetil.org; Fri, 04 Dec 2020 16:07:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klI5e-0004L8-KX for guix-patches@gnu.org; Fri, 04 Dec 2020 15:54:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klI5b-0000dI-4v for guix-patches@gnu.org; Fri, 04 Dec 2020 15:54:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klI5b-0004Vm-2l for guix-patches@gnu.org; Fri, 04 Dec 2020 15:54:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45039] [PATCH] Remove duplicate path declaration Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Dec 2020 20:54:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45039 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Leo Famulari , Holger Peters Cc: 45039@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 45039-submit@debbugs.gnu.org id=B45039.160711524117320 (code B ref 45039); Fri, 04 Dec 2020 20:54:03 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.19 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=E870zYS0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: E7FB4940484 X-Spam-Score: -1.19 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: GRCJlGSU+ejb 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