From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YFfeKJzGjV9lcgAA0tVLHw (envelope-from ) for ; Mon, 19 Oct 2020 17:02:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aDahJJzGjV9QKgAAB5/wlQ (envelope-from ) for ; Mon, 19 Oct 2020 17:02:20 +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 249809400D3 for ; Mon, 19 Oct 2020 17:02:19 +0000 (UTC) Received: from localhost ([::1]:55660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUYY6-0005NB-EX for larch@yhetil.org; Mon, 19 Oct 2020 13:02:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUYXq-0005N0-8K for bug-guix@gnu.org; Mon, 19 Oct 2020 13:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58913) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUYXp-0001D3-Uk for bug-guix@gnu.org; Mon, 19 Oct 2020 13:02:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kUYXp-0000YK-T7 for bug-guix@gnu.org; Mon, 19 Oct 2020 13:02:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43960: Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 19 Oct 2020 17:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43960 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Bengt Richter Received: via spool by 43960-submit@debbugs.gnu.org id=B43960.1603126893643 (code B ref 43960); Mon, 19 Oct 2020 17:02:01 +0000 Received: (at 43960) by debbugs.gnu.org; 19 Oct 2020 17:01:33 +0000 Received: from localhost ([127.0.0.1]:42217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUYXN-0000A1-7M for submit@debbugs.gnu.org; Mon, 19 Oct 2020 13:01:33 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:40103) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUYXL-0008V7-Jq for 43960@debbugs.gnu.org; Mon, 19 Oct 2020 13:01:32 -0400 Received: by mail-wm1-f67.google.com with SMTP id k18so220665wmj.5 for <43960@debbugs.gnu.org>; Mon, 19 Oct 2020 10:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=oGTetZwgnIoPHC2V7nFOXwFL88IrnMLRjrc0ttYJSvI=; b=KOCGWl9RNWdFNgj09NKLYH5eVFEoCfR8B5SDDCh/e75H+Qhn8PaB74aqVzmFwBpcX0 +LVrp+neMmre6AyrhS4Kapd0pGQfDYOJLm9QCKDLxpmmkj+gouM+XtK+ZDdCHTaWY1Dk cwpvUZSzGlIr1zCKjyCeCygO5iEnodRYpaBh5f5SOKuKlPjNsbI6vWIVjJ00nuJ3eL2J 2ei7zd53y8woycIqbM9cl324t9ZXtqVXOeqsOmY6L53pJY6W2OSWspVMbMmEq4ZYx3RW l6dDQ1OBZ4OeqkGn0n5gMxVHZdAawiyAQp1ZA0d0STc9Dm9Xu17f09M7ftX1/TluQU6u yvgw== 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:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=oGTetZwgnIoPHC2V7nFOXwFL88IrnMLRjrc0ttYJSvI=; b=SCabkF3F3+NOglWIn/6VcUVBmIinn9gfvHFFQPVH8ajwB4apDL85Ne4rr20qcyo6jF GfRhua92mObE+fFvDvwiJ/29EGepNppn6rTUsJFho64OdFVbgaaIf7pCi/i3Cr+kOo62 AxQFyQ5OxDdhnd9yUIFSjvAYW/HX3FvkJKX3keNzGPNwqedlqItGQgWR5twoaJCVzi3v Ncci3k9EKvanzP65Fg/+I8NSl7OfyaTcpxyHGXdMowjgLpmoYg+ToeClo3i3tS1qSz+4 rxE9PpW+h7likBtFcBWcp7RsdFcVGelewiFKqwRmbm6ysnUHZvoT3MsztGIj0hwTJ78C Jl/Q== X-Gm-Message-State: AOAM531g8puYyr4RhOX8zSFwIqXxTWXDVbhHlwMODtWj2qt8vYqQU+Oi hwjiHq/a/bVfQ9qleeVWIfI= X-Google-Smtp-Source: ABdhPJyB28qHOnpxC1KX6G8jrMNfTWw/3FUDZ0pppr+AmlhIrWrD07AtHBGgwG6wWAFt2a5EMz8/Cg== X-Received: by 2002:a7b:cc89:: with SMTP id p9mr231447wma.4.1603126885599; Mon, 19 Oct 2020 10:01:25 -0700 (PDT) Received: from pfiuh02 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id x65sm263197wmg.1.2020.10.19.10.01.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Oct 2020 10:01:24 -0700 (PDT) From: zimoun References: <878scbib5u.fsf@nckx> <87pn5jc4bt.fsf@gnu.org> <86zh4n253h.fsf@gmail.com> <20201015135249.GA2949@LionPure> <20201015163923.GA4601@LionPure> Date: Mon, 19 Oct 2020 19:01:24 +0200 In-Reply-To: <20201015163923.GA4601@LionPure> (Bengt Richter's message of "Thu, 15 Oct 2020 18:39:23 +0200") Message-ID: <87o8kyf8uz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 43960@debbugs.gnu.org, =?UTF-8?Q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9_?= =?UTF-8?Q?=D0=9F=D0=BE=D0=BB=D1=8F=D0=BA=D0=BE=D0=B2?= Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=KOCGWl9R; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.59 X-TUID: xhBa158jjRo3 Dear, On Thu, 15 Oct 2020 at 18:39, Bengt Richter wrote: >> On Thu, 15 Oct 2020 at 15:53, Bengt Richter wrote: >>=20 >> > If there is a left-over from old manual installation advice like >> > --8<---------------cut here---------------start------------->8--- >> > /usr/local/bin/guix: >> > symbolic link to /var/guix/profiles/per-user/root/current-guix/bin= /guix >> > --8<---------------cut here---------------end--------------->8--- >> > could it interfere in any way with the above, or subsequent operation? I do not think it interferes. > Yes. I didn't realize it was still there -- I may mis-remember some discu= ssion > deprecating the use of /usr/local/* to affect the namespace seen when typ= ing > guix whatever. > (vs putting needed info in ~/.bash_profile or ~/.profile) I am not sure to understand what you mean. I should have missed such discussions. Do you have pointers? > I.e., even though the target is /var/guix/... it is not by way of > ~/.guix-profile unless > that's been put first in the path via ~/.bash_profile. > > But /usr/local/bin is typically on a default PATH, so could you not > accidentally see the > wrong guix (rather than a more informative file-not-found) if the envirom= ent > was not > straight-forwardly inherited from a normal login? (e.g. emacs subshell pt= s? > Haven't checked ;) I am sorry, I do not understand your point. On Debian, fresh user: --8<---------------cut here---------------start------------->8--- $ ls -a . .. .bash_logout .bashrc .profile $ which guix /usr/local/bin/guix $ guix pull [..] hint: Consider setting the necessary environment variables by running: GUIX_PROFILE=3D"/home/kikoo/.config/guix/current" . "$GUIX_PROFILE/etc/profile" Alternately, see `guix package --search-paths -p "/home/kikoo/.config/guix/= current"'. hint: Run `guix pull --news' to read all the news. hint: After setting `PATH', run `hash guix' to make sure your shell refers = to `/home/kikoo/.config/guix/current/bin/guix'. $ guix pull # again nothing to be done hint: Run `guix pull --news' to read all the news. hint: After setting `PATH', run `hash guix' to make sure your shell refers = to `/home/kikoo/.config/guix/current/bin/guix'. --8<---------------cut here---------------end--------------->8--- Is your point that: guix install hello will install =E2=80=99hello=E2=80=99 from the Guix at version of =E2=80=99/= usr/local/bin/guix=E2=80=99? Well, if you see improvements in this area, please open a separate bug/whishlist report. All the best, simon