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 2AI1BFcu8l/5TAAA0tVLHw (envelope-from ) for ; Sun, 03 Jan 2021 20:51:35 +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 2CmaO1Yu8l9qXAAAB5/wlQ (envelope-from ) for ; Sun, 03 Jan 2021 20:51:34 +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 1A150940481 for ; Sun, 3 Jan 2021 20:51:34 +0000 (UTC) Received: from localhost ([::1]:38350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwALd-0002w7-3P for larch@yhetil.org; Sun, 03 Jan 2021 15:51:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwAJt-0001lo-OW for help-guix@gnu.org; Sun, 03 Jan 2021 15:49:45 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]:45666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwAJr-0005AB-Et for help-guix@gnu.org; Sun, 03 Jan 2021 15:49:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=krW1mjDqxhWmokK+KHbYC/eHfssUZMx6IGuZFHmqMAs=; h=date:in-reply-to: references:subject:cc:to:from; b=HKINAGbb2dkatq4iRMIvNhCSgdX/P2K//+R3W 7ah0wEmjaWGZAxiUnD5Ss5BaE+8h7OlhhB4w+I/BTSztmOdNBI4qBsfnOypLjh5hM2vuuj 6Vnd5shdP03Oc8g8ANGltIVWMcEKAiyWHjx3chb5XM8DzjBi322UUQL2pjC50gmvt4Cz2U 1rA9HXz12nySrAsDHH5QbL4seztZRNg3QDISjNqgew7orxTT2EIi8tWZI1O9prOCVrLXZM ejVjOvdsnKIMkicGcsAqyyGy7KEbUkcjBKEHPqalXzv2iUfxlwb0s0o0N2IN7/xs6PEaCQ wmoj/AVr6Muru35Lk7z7MKfkA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 7ec62bb5 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Sun, 3 Jan 2021 20:50:07 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: Christophe Pisteur Subject: Re: define PATH and PROFILE References: In-reply-to: Date: Sun, 03 Jan 2021 21:49:36 +0100 Message-ID: <87y2h9hhjz.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr 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, SPF_HELO_PASS=-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.23 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-Spam-Score: -4.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=HKINAGbb; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 1A150940481 X-Spam-Score: -4.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: dX0BImE/b5KX --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Christophe, Christophe Pisteur =E5=86=99=E9=81=93=EF=BC=9A > 1) after guix pull, I get the following message: > > export PATH=3D"$HOME/.config/guix/current/bin:$PATH" > export=20 > INFOPATH=3D"$HOME/.config/guix/current/share/info:$INFOPATH" > > I don't quite understand what to type in the terminal. Exactly these two lines as printed. As you copied them into this=20 e-mail. > Should I replace > $HOME or HOME with the path of my directory, for example:=20 > > export PATH=3D"/home/christophe/.config/guix/current/bin:$PATH" > and then: > export > INFOPATH=3D"/home/christophe/.config/guix/current/share/info:$INFOPATH" Well, if you: $ echo $HOME /home/christophe so both are entirely equivalent. If you write (or copy/paste) $HOME, the shell will perform your=20 replacement for you, with less chance of mistakes. > 2) similar question with this message: > > GUIX_PROFILE=3D"/home/christophe/.guix-profile"=20 > . "$GUIX_PROFILE/etc/profile" > > Is this two actions (two step in the terminal, the first line=20 > and > "enter" then the second line and "enter")? Yes, although most terminal emulators do the right thing if you=20 simply copy and paste both lines at once with the mouse. You=20 might have to hit Enter after that; it depends on the emulator. > And does the second line really begin with a dot? Yes. =E2=80=98.=E2=80=99 evaluates the contents of a shell script as if yo= u typed=20 it at the prompt. In bash, it's aliased to =E2=80=98source=E2=80=99 but th= is is=20 not standard, so we say =E2=80=98.=E2=80=99. It's similar to executing the script (without the dot), but allows=20 the script to change the current shell's environment: $ TEST=3Dnope $ cat ./example TEST=3Dhullo $ echo $TEST nope $ chmod +x ./example $ ./example # <- running $ echo $TEST nope $ . ./example $ echo $TEST # <- sourcing hullo $ > In both questions (1 et 2), I have tried several options but the > terminal does not return any message (neither error nor success > message) In Unix -- and GNU, being a Unix -- silence is golden. }:-) If something did go wrong you should've got an error message, so=20 it sounds like everything is fine & boring. Welcome to Guix, and please don't hesitate to ask questions,=20 newbie or not. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX/It4Q0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15+cQA/3uCJycm18lvcmNr9VNe+or0ZABqBlEYCVSA3B0v s0dwAP9j6P12lSCXpqXciYzY43IhvkcejeyEZJgAMMl3AUlDBg== =UzkC -----END PGP SIGNATURE----- --=-=-=--