From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IDsuJsiDDWJo6gAAgWs5BA (envelope-from ) for ; Thu, 17 Feb 2022 00:07:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GFPbIsiDDWLFlQAAauVa8A (envelope-from ) for ; Thu, 17 Feb 2022 00:07:52 +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 4887B84C8 for ; Thu, 17 Feb 2022 00:07:52 +0100 (CET) Received: from localhost ([::1]:39254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKTOp-0004qk-4M for larch@yhetil.org; Wed, 16 Feb 2022 18:07:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKTOY-0004qM-Mg for help-guix@gnu.org; Wed, 16 Feb 2022 18:07:34 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21174) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKTOW-0006m0-23 for help-guix@gnu.org; Wed, 16 Feb 2022 18:07:33 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1645052847; cv=none; d=zohomail.com; s=zohoarc; b=ijgNZg3rD10rVi8PXGtg6SMpNnMxgLta39K0mUIoig2z3u5/V9MXMO2g1gcoVTu5dTKKKf8OFgHXY+H3REu+wG3RboiqP6lrj0+iE6gaJOeLlJrbHrQ0MlPuyyIfQd2VIyG6fyc4Jl6R4MaNKDG2o9uREw5Zf5WS3qVfM0gRA4E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1645052847; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=JpzAi7DeIb8o+W5GVJDhS6D5RAkYo1sOUTH/YKFQwTY=; b=kIo82feAY6ciFCi+EgSczRbjC36bxEd/wwzF80z227qTaPGGyhIxlTfg1wBoJRbkpDxBDLsntEfYBpMdEzyNNge/SEAwjoYzxg2ksgc1L72ADJI383X84Ez3Gaj3tZJ26xGLSk+6nJM9Dm1Pq2Wct4Dbc3Wrk4qoqkcM6t5M7ks= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1645052847; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=JpzAi7DeIb8o+W5GVJDhS6D5RAkYo1sOUTH/YKFQwTY=; b=QK8rg4WJrsvyFc0/UnzJjDQML62NHvqfVGrFvNOwgh0SkyxcLuj0mBY6rp7sIIsu FMkAB27RSr7Q5OvcPT0r11AOZj/P9QiC4B/RYg4q6Jod2mAvmiaHO/NDEn3fFFkNPix nUYYAOpF7L1z+4c8cPwEUzKLW+zHeX7vWrj6kcfE= Received: from localhost (p54ad4f34.dip0.t-ipconnect.de [84.173.79.52]) by mx.zohomail.com with SMTPS id 1645052847020743.7016362152839; Wed, 16 Feb 2022 15:07:27 -0800 (PST) References: <678d7b85-d8b3-6d84-b569-d3e3298ec95f@posteo.de> <87leya4lmn.fsf@elephly.net> <9297ba25-48d0-f8e4-ff8e-f16dda50c597@posteo.de> User-agent: mu4e 1.6.10; emacs 28.0.91 From: Ricardo Wurmus To: Gottfried Subject: Re: guix pull Date: Wed, 16 Feb 2022 23:58:37 +0100 In-reply-to: <9297ba25-48d0-f8e4-ff8e-f16dda50c597@posteo.de> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87czjm4dhv.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645052872; 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=JpzAi7DeIb8o+W5GVJDhS6D5RAkYo1sOUTH/YKFQwTY=; b=Mu/ZMZmI8M/aYJPF6qopYRHniiqPk/h4JsAEVPnWOPxbV/7/MnBBST/miEsjDjWpcrxjPp 8C8CyhzdC+wYwEWxD6s27WYrAnKMODDMMR5UfqnZLdkfVltqzkt6JjP9GT8SgoYZkYns0h XarxGdKjV9NpWqrix9EkmeT9GOAvrgpapaUb1wn2MBIWXJGr7KWQ3rvi97CxZLvl+ADkuv GoEHn2oiGLsVPzjCh8NaSfxztyzrvFSmeqUTImEv9CIQMq/tFHw+TXp6jcr0Wtx1kgGYCi KiSt+WY6Q/Im7idXGD1KGEPT6T6TeZON2qJPzHekeQMaXy5wJOCnZLZa+FxwnQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1645052872; a=rsa-sha256; cv=pass; b=aYaTD3mDedRYgfFlUXnTofT+iviy6tLJ91hgdf4DdLgP7A8Sj0e2NkE717bBRLAs+l/YAX vSRPOe7skat5UcxBHRMYOEnjXi5gWhnVAEn99hIfXoTdaWVYQ8JfoxdmR8QZvZvUYfhSmV /8RANBUgjNXs1WxVB0BiPTgMXAoP8pC3Jbg4PH4fm5kkPJVgQ7eFwBwAKabCp7I0jXwSjQ BUFPhYLof4mdVXE0A1avg/17m0tWQR0At6stIJE1I3vwF45/r+feq/uI2pRwP28um1ozhQ gYlxoqeTlVRvOr5+OCHzLVb6x62NEd/YgMYR+bqJlmWny4g7Vvvb3rg1vdYiYA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=QK8rg4WJ; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; 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" X-Migadu-Spam-Score: -6.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=QK8rg4WJ; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; 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" X-Migadu-Queue-Id: 4887B84C8 X-Spam-Score: -6.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: OD/PGCD8fRh7 Gottfried writes: > Hinweis: Nachdem Sie `PATH' festgelegt haben, sollten Sie `hash guix' aus= f=C3=BChren, damit Ihre Shell `/root/.config/guix/current/bin/guix' > verwendet. > > What does it mean?=20 > > How do I "PATH"... Your shell (by default that=E2=80=99s GNU Bash) has a few builtin commands,= but when you type something like =E2=80=9Cls=E2=80=9D or =E2=80=9Cguix=E2=80=9D= it has to search for an executable of that name on your disk. It searches the directories that are listed on the PATH environment variable. You can see the value of PATH by running echo $PATH This will be a colon-separated list of directories that can be expected to contain executables. When you type =E2=80=9Cguix=E2=80=9D and hit enter= your shell visits the directories listed in this PATH variable one by one until it finds an executable with the name =E2=80=9Cguix=E2=80=9D. It then remember= s the location so that it doesn=E2=80=99t have to do all that work again. The hint above tells you to put ~/.config/guix/current/bin *first* on the list of directories in the PATH variable, so that when the shell goes to search for =E2=80=9Cguix=E2=80=9D it will look there first and find ~/.config/guix/current/bin/guix =E2=80=94 and not /usr/local/bin/guix or whatever else might exist on your disk. Since bash might have already remembered that =E2=80=9Cguix=E2=80=9D corres= ponds to =E2=80=9C/usr/local/bin/guix=E2=80=9D you need to tell it to forget about t= hat and look again. That=E2=80=99s what =E2=80=9Chash guix=E2=80=9D does. You can set PATH permanently by adding or modifying a line in the ~/.bash_profile file, which is read once when Bash starts. Or you can set it just in the current shell session. In any case, setting this variable is done like this: export PATH=3D/home/gottfried/.config/guix/current/bin:$PATH This changes the value of PATH so that =E2=80=9C/home/gottfried/.config/guix/current/bin=E2=80=9D appears first, f= ollowed by the current value of PATH. You can add this line to the bottom of ~/.bash_profile and then start a new shell session (e.g. by logging out and in again). --=20 Ricardo