From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: bug#35864: ~/.local/bin is missing in default PATH on Guix System Date: Thu, 23 May 2019 21:31:09 +0200 Message-ID: <87lfyxvuip.fsf@nckx> References: <20190523122715.2oncjxqvpkl2ylbw@pelzflorian.localdomain> <87ef4pgsql.fsf@elephly.net> <20190523153138.6kspxwfzeisntll5@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTtRe-00024Y-Jo for bug-guix@gnu.org; Thu, 23 May 2019 15:32:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTtRd-0004sO-Ob for bug-guix@gnu.org; Thu, 23 May 2019 15:32:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59987) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hTtRd-0004s8-LI for bug-guix@gnu.org; Thu, 23 May 2019 15:32:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hTtRd-0004KS-FC for bug-guix@gnu.org; Thu, 23 May 2019 15:32:05 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:51784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTtQs-0001md-GX for bug-guix@gnu.org; Thu, 23 May 2019 15:31:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTtQr-0004Sg-Iw for bug-guix@gnu.org; Thu, 23 May 2019 15:31:18 -0400 Received: from tobias.gr ([2001:470:7405::1]:35530) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hTtQq-0004O7-TH for bug-guix@gnu.org; Thu, 23 May 2019 15:31:17 -0400 In-reply-to: <20190523153138.6kspxwfzeisntll5@pelzflorian.localdomain> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 35864@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable pelzflorian (Florian Pelz) wrote: > Adding ~/.local/bin to the PATH is common on other distros. This is what still needs to be established: is it? Which ones?=20 Is it merely a side-effect of them using systemd? And most=20 crucially: does it mean that Guix needs to add it too? What about=20 ~/bin? I'm was just interested in the (ideally: your) arguments for doing=20 so, not a link to a discussion site. If it really breaks things=20 that should work, I'm all in favour of adding it to the default=20 skeleton, if not /etc/profile itself. > When compiling and installing software as a user without making=20 > a package > for it, I want to configure it with --prefix=3D$HOME/.local so I=20 > can > install without sudo. Then I want to be able to run: > > myprog > > instead of > > PATH=3D$HOME/.local/bin myprog You can already easily add custom directories to $PATH in your=20 .bash_profile, if my understanding of bash's complicated set of=20 configuration files is still accurate. That's where I set it,=20 anyway: ~ =CE=BB grep PATH=3D .bash_profile=20 PATH=3D"$HOME/.local/bin:$PATH" and it's always worked fine. :-) Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXOb0/QAKCRANsP+IT1Vt eRVEAQCW6O5vMC4nCenD5udUlVywc2jRurTyGunBDBhsokXU0AD/ed30pQt7HUa1 ruJsA1CUWwArBX7G/SIrVQwQXMJO7QE= =fPsf -----END PGP SIGNATURE----- --=-=-=--