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 KP3OJKatyl/bSQAA0tVLHw (envelope-from ) for ; Fri, 04 Dec 2020 21:44:06 +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 SCquIKatyl8NQAAAbx9fmQ (envelope-from ) for ; Fri, 04 Dec 2020 21:44:06 +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 526E89400D3 for ; Fri, 4 Dec 2020 21:44:06 +0000 (UTC) Received: from localhost ([::1]:35052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klIs1-0005Ij-9A for larch@yhetil.org; Fri, 04 Dec 2020 16:44:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klImA-0007i9-D8 for guix-patches@gnu.org; Fri, 04 Dec 2020 16:38:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klImA-0008Iz-4u for guix-patches@gnu.org; Fri, 04 Dec 2020 16:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klImA-0005aV-1T for guix-patches@gnu.org; Fri, 04 Dec 2020 16:38:02 -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 21:38:01 +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 Cc: 45039@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= , Holger Peters Received: via spool by 45039-submit@debbugs.gnu.org id=B45039.160711782321400 (code B ref 45039); Fri, 04 Dec 2020 21:38:01 +0000 Received: (at 45039) by debbugs.gnu.org; 4 Dec 2020 21:37:03 +0000 Received: from localhost ([127.0.0.1]:45996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klIlC-0005Z6-RB for submit@debbugs.gnu.org; Fri, 04 Dec 2020 16:37:03 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:35915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klIl8-0005YX-JG for 45039@debbugs.gnu.org; Fri, 04 Dec 2020 16:37:01 -0500 Received: by mail-wr1-f66.google.com with SMTP id z7so6681785wrn.3 for <45039@debbugs.gnu.org>; Fri, 04 Dec 2020 13:36: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=EutiSterHirNMElD/zo5u3EhcOSAqRu0wOQMJ/f8b/M=; b=dR6L+YrihM/vGLcMH4U90nlWV+uFvPi5xScJdNhzY6RRk2qIvT2YNeaa5Z5cw4Knod cWi9LmFzi3/DIInTE5QVKU0XjSJNGksB4RXIRu+NkDKnF6EjifyYIjX9uTzGclaUXbFs X4dozoCD3OcQ+VHiK5QvivNscrJOfsDF6Bmgq6UmsF9oZfI2pk4sTFi+xsfKGM0JXgBC fqJvojnqdCQBKtJuJ+hetSFT45+xtqP1DMPURDN5AdN0queNbA8bQgbY2lgNTP62gKGa Uj889XdJR2nRWUgNMJ95fnKgP00qVDdkQXhEc64BBXYfPOQnzpy0dI8PgZBbifvwPzTB d/Cg== 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=EutiSterHirNMElD/zo5u3EhcOSAqRu0wOQMJ/f8b/M=; b=NEq21eHt8fy6rpyoP5htMLkqQ5eSGH9UZywBv8MBvePmvnBFt6ZrXAX13QGdOJf9KQ e/CVgLWYlvcxXu/+24tbdr1beVF6avbTOqnktIG3Fm9mS/K+y8qpYu2w3atSC7tnqJdy +Jb00gD5UlKD4+8axqmRmJusSQAGkDvxcnaIdH8SgZHt739MvyM0ys4X4AGcIeJ/FExD ecxc+J2KJzis+bpyQLzvb1Wic5tfuNfT+Z+2OHXfAk8t3UF7DSj6JyLIb8vhAxYy7pxB ZHVUD5f1PWQ08hamBF4m3+JOgQNwi4iBHhci1oYiZ16FhXs70pU/6HROS/n23QJ1LBTg aZTw== X-Gm-Message-State: AOAM5308qMAp9iaukax6Nln5NsB6zSXQ+SjM1QqadThU4FYb6iaLi+4P aBm3S6kMM0r7Haz8ei8Md9g= X-Google-Smtp-Source: ABdhPJwIBopVYRyAmAQMZoTSaVCFV3vxJWcQAJCVqAsbV4z0fDwoJgy26vxTNmrkzUwjG/diMoYwHA== X-Received: by 2002:a05:6000:151:: with SMTP id r17mr7140986wrx.157.1607117812730; Fri, 04 Dec 2020 13:36:52 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id h20sm4383194wmb.29.2020.12.04.13.36.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2020 13:36:52 -0800 (PST) From: zimoun In-Reply-To: References: <86tut1b8qe.fsf@gmail.com> Date: Fri, 04 Dec 2020 22:30:11 +0100 Message-ID: <86r1o5b6os.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=dR6L+Yri; 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: 526E89400D3 X-Spam-Score: -1.19 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: gu/JvHUFOSH5 Hi, On Fri, 04 Dec 2020 at 16:15, Leo Famulari wrote: > On Fri, Dec 04, 2020 at 09:46:01PM +0100, zimoun wrote: >> Well, from my understanding, doing this: >>=20 >> GUIX_PROFILE=3D$HOME/.config/guix/current >> . $GUIX_PROFILE/etc/profile >>=20 >> allows to have the guix commands that refer to the latest version =E2=80= =9Cguix >> pull=E2=80=9D=E2=80=99ed. Moreover, you also have the last version of = the manual with: >>=20 >> --8<---------------cut here---------------start------------->8--- >> export INFOPATH=3D"$HOME/.config/guix/current/share/info${INFOPATH:+:}$I= NFOPATH" >> --8<---------------cut here---------------end--------------->8--- >>=20 >> To me, the manual is right for this part. Maybe I am missing something. > > I suppose that one could source both 'etc/profile' directories, from > ~/.guix-profile and ~/.config/guix/current. My .bash_profile contains: --8<---------------cut here---------------start------------->8--- export GUIX_MYPROFILES=3D~/.config/guix/profiles for p in $(ls --color=3Dno -1 $GUIX_MYPROFILES) do profile=3D${GUIX_MYPROFILES}/${p}/${p} if [ -d $profile ] then GUIX_PROFILE=3D$profile . $profile/etc/profile # unset $profile fi done GUIX_PROFILE=3D$HOME/.guix-profile . $GUIX_PROFILE/etc/profile # the latest Guix version lives there # needs to be first in the PATH GUIX_PROFILE=3D$HOME/.config/guix/current . $GUIX_PROFILE/etc/profile # Ugly workaround export PATH=3D"$HOME/.config/guix/current/bin${PATH:+:}$PATH" # ~/.config/current/bin/guix repl works with readline export GUILE_LOAD_PATH=3D"$HOME/.guix-profile/share/guile/site/3.0${GUILE_L= OAD_PATH:+:}$GUILE_LOAD_PATH" # lastest info manual export INFOPATH=3D"$HOME/.config/guix/current/share/info${INFOPATH:+:}$INFO= PATH" --8<---------------cut here---------------end--------------->8--- Hope that helps. >> Did you run =E2=80=9Cguix pull=E2=80=9D as regular user? > > No, as the root user. It's the only user on that server. So, the message seems consistent, isn=E2=80=99t it? I am not sure better c= ould be done for the root user. Well, I do not know. :-) All the best, simon