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 EFEOOxOZsl6zVQAA0tVLHw (envelope-from ) for ; Wed, 06 May 2020 11:01:39 +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 KN+pKx+Zsl5bLAAAB5/wlQ (envelope-from ) for ; Wed, 06 May 2020 11:01:51 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 BBE64940F47 for ; Wed, 6 May 2020 11:01:48 +0000 (UTC) Received: from localhost ([::1]:59820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWHoB-0006pT-Gr for larch@yhetil.org; Wed, 06 May 2020 07:01:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWHo3-0006p7-5E for help-guix@gnu.org; Wed, 06 May 2020 07:01:39 -0400 Received: from knopi.disroot.org ([178.21.23.139]:39822) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1jWHo1-0005zX-K4 for help-guix@gnu.org; Wed, 06 May 2020 07:01:38 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 90DFA2E71B for ; Wed, 6 May 2020 13:01:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9rwdaoog0OkN for ; Wed, 6 May 2020 13:01:32 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1588762892; bh=zeUrVVblxehB+4/TSSNzBCnuc/TEXckh39BOoNCj//0=; h=Date:From:Subject:To; b=JKHhHbzfkEKzyFFQvsLCQEbEHe3YuUKnZy2pqZEBvWKuvv88oGDfCCcPJZjJe+fOq 4q9184sVOiBoBlPa4qQcOXRFQGQ8aoCn+JmbLKh60kz1sn28jlOvLGLb4gTyGf9dvj N6o8x7zYRgab+CgCddHwmFxTr1KQ02PUtgxWzlM4L8DJcGA6yAP2uDxUl2EgEAzbHK azN7V1n44zA83YkvTFbtBrBckhIYatr0FgAwSq0FAqYZwd//+ji8uUSdv/G8k9LDUV 00Q604nt8+G3htDwKDterMZqlTi33Q/B9SipeQDgPaPwhAqhxOLYg47lYU1jza4Xle LqehxPwfqNP6g== Date: Wed, 06 May 2020 11:01:32 +0000 From: znavko@disroot.org Message-ID: Subject: How to make bash sees binaries from /root/.local/bin ? To: "help-guix" Received-SPF: pass client-ip=178.21.23.139; envelope-from=znavko@disroot.org; helo=knopi.disroot.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/06 05:13:59 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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.23 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 X-Spam-Score: 1.59 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=disroot.org header.s=mail header.b=JKHhHbzf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=disroot.org (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Scan-Result: default: False [1.59 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49625309552599]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; MV_CASE(0.50)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.12), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; R_DKIM_REJECT(1.00)[disroot.org:s=mail]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[disroot.org:-]; MX_GOOD(-0.50)[eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MIME_TRACE(0.00)[0:+]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[znavko@disroot.org,help-guix-bounces@gnu.org]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[help-guix@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; FROM_NO_DN(0.00)[]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[disroot.org : SPF not aligned (relaxed),none] X-TUID: D/r05uHSnwzn Hello! Fortunately, I've installed protonvpn client (written in python3) = to my system.=0ABut it does not run with 'protonvpn' command, but only wi= th full path '/root/.local/bin/protonvpn'.=0AAs I know, it happens becaus= e PATH variable does not contain /root/.local/bin=0Aand bash does not see= k there.=0ASorry, I want Guix way advice concerning how to add the direct= ory '/root/.local/bin/'=0Ato my $PATH for user 'root' permanently, please= ?=0A# echo $SHELL=0A/gnu/store/n1c9jiv2njnvdfz58v71fvzq0hkgivz1-bash-5.0.= 7/bin/bash=0A=0A# echo $PATH=0A/root/.guix-profile/bin:/root/.guix-profil= e/bin:/root/.guix-profile/sbin:/run/setuid-programs:/root/.config/guix/cu= rrent/bin:/root/.guix-profile/bin:/root/.guix-profile/sbin:/run/current-s= ystem/profile/bin:/run/current-system/profile/sbin=0A=0A# cat /root/.bash= _profile=0A# Honor per-interactive-shell startup file=0Aif [ -f ~/.bashrc= ]; then . ~/.bashrc; fi=0AGUIX_PROFILE=3D"/root/.guix-profile" . "/run/c= urrent-system/profile/etc/profile"=0A=0AGUIX_PROFILE=3D"/root/.guix-profi= le" . "$GUIX_PROFILE/etc/profile"=0A# ls /root/.local/bin=0Achardetect pi= p pip3 pip3.7 protonvpn=0A=0A# protonvpn=0A-bash: protonvpn: command not = found