From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wEkmFovr3mPGSgAAbAwnHQ (envelope-from ) for ; Sun, 05 Feb 2023 00:34:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +MFOFYvr3mPFbwEAG6o9tA (envelope-from ) for ; Sun, 05 Feb 2023 00:34:35 +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 DC39725912 for ; Sun, 5 Feb 2023 00:34:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOS2k-00070f-39; Sat, 04 Feb 2023 18:34:02 -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 1pOS2i-00070W-CO for help-guix@gnu.org; Sat, 04 Feb 2023 18:34:00 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOS2g-0001Ez-B7 for help-guix@gnu.org; Sat, 04 Feb 2023 18:34:00 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 11EB12400FD for ; Sun, 5 Feb 2023 00:33:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1675553635; bh=TUrGirLa0NWyd5sc3+3bqiu8WZASbLEzoBAJKp2wUJY=; h=From:To:Cc:Subject:Date:From; b=gQjE4vYcISSY9vQoY5kPcI7XjKpg4vS+wywOOnVP+Up0XAbZwkk5K1r1VJevz69Ri 7NobT9TAQtLJZ+DoVX+b4mT/fWShwLZPaOYpRctxvgiU0qKt0xLFEPkc3I8KJci0JU 4rr7r6gEPmSgGj2xCLWCeGCVxqhWtZN4AJa9dFK54eLPqBKDvIKbAInZudgT7b/KN6 hp045NORQ9dIYGQFX3QKtT8JcW9YXwR30snclK7FAWPAoE00ggauI+zT3hoWGZLlm/ kvXvbeBqVxB++zNr5zJDHtzK9KqljX0XMsviR1agRb6+p2wq3PTiICs5dhNSLrjxkF NwmZsN/TD8ODg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P8TPC4Xdzz6tn8; Sun, 5 Feb 2023 00:33:51 +0100 (CET) References: From: Kyle Andrews To: Julien Lepiller Cc: Andy Tai , help-guix@gnu.org Subject: Re: guix running advice: correct? Date: Sat, 04 Feb 2023 23:16:37 +0000 In-reply-to: Message-ID: <87bkm96m5f.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=kyle@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1675553675; 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=TUrGirLa0NWyd5sc3+3bqiu8WZASbLEzoBAJKp2wUJY=; b=QkD08czNyXOwg+1HuZBwqu2H3M8Bm4g3qm5zMJ4RTusvl5guY9KlZOf5BjVX3sBWUZ34wB M5XRRyrlaxm/uhquinZ6JhmPoWr5olOxzv3bWyrJingjPp9+nXQnbpeSLUH3paZDTm9Rzv DLXD2IzpZvDfuE2GcbQkgNu2PYW1H6PEA8xUip03MqNSw43pzGcu9F2EW2uefKNYdfmzyg cKdwL1/MFHVB+bSucBGExOYKXw/1vGMfxDANUTWPaeGD0DqKOaVVTCMM/mJjiOxxnHSMzc fvskQ6J9LZ1QajUsQAicu/PI/EQ9ucyuohU56L0ZVhpUAsF7+PAfEJQmBloNnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gQjE4vYc; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675553675; a=rsa-sha256; cv=none; b=bzbjBNZgZpXZEmK+gCU2ycbobIvW/DTVdvnckEy3mQ9v/s1jfdF2+WdgMVg3Q2pd5xskB+ 8jOG1cU7K+iCkG0m1xUUtTyK5rOXMAaGG6a72TanfTAEoyMQDUzEnZv+wyayljzIL8cFbF CLpPDHcCnpUyVT9tPIGaUEqGY0t2e5gzwraxmcAmVGaaZvcBJK00YQBjjbatsDRClf68Jp jGUIoiBaWFfCsuXp70Q/kG6SLota+kGWYnF46XEP77k+LsXLVPimLwZY4grPGNbiKXM4ai I4GwWyjQfgHNHQTaJ7xTwDvxLOyPCBLnZNAbmq2gLTpolXmaKV3BOboIMiM3Iw== X-Migadu-Spam-Score: -5.55 X-Spam-Score: -5.55 X-Migadu-Queue-Id: DC39725912 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gQjE4vYc; 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=pass (policy=none) header.from=posteo.net X-Migadu-Scanner: scn1.migadu.com X-TUID: zjGg9X4td2iv Julien Lepiller writes: > Hi Andy, > > I'm the author of this advice. I think it's still correct. It's mostly > sanity checks that you would run to ensure you can get packages from > this channel. Most of it is scattered around the manual, mostly in the > manual installation documentation. > > ~/.config/guix/current is where your new guix (the one you pulled with > the channel) is installed. If it's not first in $PATH, you're at risk > that some other guix will be used instead. > > hash is a command that removes an entry from the shell's cache. 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. If your guix already comes from the correct > location, it'll be useless but it won't hurt. > > HTH! > > Le 3 janvier 2023 06:31:25 GMT+01:00, Andy Tai a =C3=A9cr= it=C2=A0: >>Hi, from this page >>https://framagit.org/tyreunom/guix-android/-/blob/master/README.md >> >>Important checks >>Make sure your guix environment is set up properly. You need to have >>~/.config/guix/current as the first item in your $PATH or you're going >>to run into troubles. Additionally, after running guix pull, make sure you >>run hash guix in any open terminal to make sure bash's cache is cleared of >>the old guix binary location. >> >>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. I too had never heard about this PATH recommendation and it seems contrary to some advice I do remember given in the cookbook about working with multiple profiles. For me, activating an extra profile places it's /bin and /sbin directories at the beginning of my PATH. I can only find ~/.config/guix/current/bin burried quite deep near the end. 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. Ideally if its that dangerous then updating the path would happen automatically when sourcing the etc/profile file inside a profile directory. Should the Guix Profiles in Practice section of the cookbook be updated to reflect this?