From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kLTkA41V32M1HAAAbAwnHQ (envelope-from ) for ; Sun, 05 Feb 2023 08:06:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8JM9Ao1V32PNgAAAG6o9tA (envelope-from ) for ; Sun, 05 Feb 2023 08:06:53 +0100 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 C96E410B36 for ; Sun, 5 Feb 2023 08:06:52 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOYjC-0001Ct-0i; Sun, 05 Feb 2023 01:42:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOYj9-0001CT-U6 for help-guix@gnu.org; Sun, 05 Feb 2023 01:42:15 -0500 Received: from lepiller.eu ([89.234.186.109]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOYj6-00088O-LZ for help-guix@gnu.org; Sun, 05 Feb 2023 01:42:15 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id da27bc22; Sun, 5 Feb 2023 06:42:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=nVzXIoTGbjU8 IExo3NRhVVCU3nfluZ2neW75vF/Nawc=; b=E2FT0sKXUOWGgDOw5F0GouMR6o2e Qpos/+Lx8SzUdhdTws+5dwX8OLROKXC0C5wIUYeq3JYWRhMoSAGEBBRjbGV45Ju6 ZZ8RnZyVqltyFsHGuTvL+Vx2Mm4mRzi+up1ytBa4b1MeV4MOt8odmZjm+s2+j06s 3mT7KnoEghks+KVWKL0TTZRzbHI+ZENHrFFMbE49S1KfUsjTLsviUCqAAudUUxqg mzKk9mrpW5d9F+4F7VJVZ54BArhXKQK8K4LQgOHBksusRdfvIHHUcNfDcuoGT4Qa m5e0I52dAGiw0wCGzykRdiF53pwU08aZgwDCKe+1uXe0a/37AC6bDIV46A== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 1b742715 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 5 Feb 2023 06:42:03 +0000 (UTC) Date: Sun, 05 Feb 2023 07:41:59 +0100 From: Julien Lepiller To: Kyle Andrews CC: Andy Tai , help-guix@gnu.org Subject: Re: guix running advice: correct? User-Agent: K-9 Mail for Android In-Reply-To: <87bkm96m5f.fsf@posteo.net> References: <87bkm96m5f.fsf@posteo.net> Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=89.234.186.109; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675580812; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=yVHKvSWvYB0RF2mEjM10qESzzKEjU+6wk5ij7P4Ajj0=; b=Ud0k5wDyhFcb91FCg69l361QETlMDY5owfV1u+UqQdpNNWC89C2bQ9LHH4IBlv74Nvu2Pd fKhhf0Gh9oMborPBjJHlpPg4yTziBF+MEOx2Rvh5r3yal9sSTD1t7i/R/FhpMEByceWXqA ZZjetr94DIxgHHgoeLMu0cx4SmwFAkg8vdyNy4KLwHtGxL6VOeXNPp6Ruzi0R2WD6MLTH+ dYfwHI8EJqP9rB06zxiS2ZlFowuhue8mlSUCVtUhe0Q7Ll6JB294O0VrJkJdLmw8nGV7lK dzx+KuvHt+DyDUGV67etABqDkH3GO4Kt34Z8fAUhYdjO7p+slnFKK4oXsTHqMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=E2FT0sKX; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675580812; a=rsa-sha256; cv=none; b=d4X8NkUq9r9TDAUdisQZ/g4oNUJnA8ftegMTHcTcNHJBE47QCGnIX4S8iimb1FxIV6Y3wn 72VlEB+zOrgBGZiXKAU5+J7U3RWdPhCqmoG6t3BrfXnFh7ug+2mNs7wbTi2eu2JL3S8PnJ 1lyoa/0w4cx00HW1+d/nsRp6Te35VnnedccY7G01wOhvcxmXu5jF/wpt83jlJ6Y2+srXRg Xi8FsLypHHhmZeT2OTuxBZdLTJYhoukYYsb3raw99FL0ybnuuqTBukWair4SYz8TUvu5d4 rpnIoudyyyK2vxBbri8SP4Lt3xX+lYe1YMdtVUmjhDBz1DAl4DTEhwTvvzQvZQ== X-Migadu-Spam-Score: -0.79 X-Spam-Score: -0.79 X-Migadu-Queue-Id: C96E410B36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=E2FT0sKX; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) X-Migadu-Scanner: scn1.migadu.com X-TUID: GMIV1FuEMRoF Ah, the guix pull profile comming first is not absolute=2E It's simply that= some users might have installed guix in their default profile, and if that= profile comes before guix pull, that huix will be used=2E Any guix upgrade= will then doongrade your profile=2E This shouldn't be ppssible anymore, since guix should do the right thing n= ow when setting the shell profile files, and it would warn if you attempted= a dpongrade=2E Le 5 f=C3=A9vrier 2023 00:16:37 GMT+01:00, Kyle Andrews a =C3=A9crit=C2=A0: > >Julien Lepiller writes: > >> Hi Andy, >> >> I'm the author of this advice=2E I think it's still correct=2E It's mos= tly >> sanity checks that you would run to ensure you can get packages from >> this channel=2E Most of it is scattered around the manual, mostly in th= e >> manual installation documentation=2E >> >> ~/=2Econfig/guix/current is where your new guix (the one you pulled wit= h >> the channel) is installed=2E If it's not first in $PATH, you're at risk >> that some other guix will be used instead=2E >> >> hash is a command that removes an entry from the shell's cache=2E If >> this is your first pull, the guix you used comes from another location >> that is recorded by the shell, so you have to clear the cache to use >> the newly pulled guix=2E If your guix already comes from the correct >> location, it'll be useless but it won't hurt=2E >> >> HTH! >> >> Le 3 janvier 2023 06:31:25 GMT+01:00, Andy Tai a =C3= =A9crit=C2=A0: >>>Hi, from this page >>>https://framagit=2Eorg/tyreunom/guix-android/-/blob/master/README=2Emd >>> >>>Important checks >>>Make sure your guix environment is set up properly=2E You need to have >>>~/=2Econfig/guix/current as the first item in your $PATH or you're goin= g >>>to run into troubles=2E Additionally, after running guix pull, make sur= e you >>>run hash guix in any open terminal to make sure bash's cache is cleared= of >>>the old guix binary location=2E >>> >>>I wonder if the above is correct, as I do not recall seeing anything in >>>Guix doc mentioning such advice or something to that effect (unless I >>>missed it) > >Interesting=2E I too had never heard about this PATH recommendation and i= t >seems contrary to some advice I do remember given in the cookbook about >working with multiple profiles=2E For me, activating an extra profile >places it's /bin and /sbin directories at the beginning of my PATH=2E I c= an >only find ~/=2Econfig/guix/current/bin burried quite deep near the end=2E > >Do you have any advice on how regular end users could follow your >recommendation? > >My naive hope would be that end users wouldn't have to think about >it=2E Ideally if its that dangerous then updating the path would happen >automatically when sourcing the etc/profile file inside a profile >directory=2E > >Should the Guix Profiles in Practice section of the cookbook be updated >to reflect this? > > > >