From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: bug#35864: ~/.local/bin is missing in default PATH on Guix System Date: Thu, 23 May 2019 13:55:36 -0600 Message-ID: <20190523135536.0eb85962@gmail.com> References: <20190523122715.2oncjxqvpkl2ylbw@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:57302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTtwJ-0000HL-4L for bug-guix@gnu.org; Thu, 23 May 2019 16:03:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTtop-0004dk-1O for bug-guix@gnu.org; Thu, 23 May 2019 15:56:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60024) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hTtoo-0004dg-U0 for bug-guix@gnu.org; Thu, 23 May 2019 15:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hTton-0004vH-L6 for bug-guix@gnu.org; Thu, 23 May 2019 15:56:02 -0400 In-Reply-To: <20190523122715.2oncjxqvpkl2ylbw@pelzflorian.localdomain> Sender: "Debbugs-submit" Resent-Message-ID: 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 (from the digest) >Date: Thu, 23 May 2019 17:31:38 +0200 >From: "pelzflorian (Florian Pelz)" >To: Ricardo Wurmus >Cc: 35864@debbugs.gnu.org >Subject: bug#35864: ~/.local/bin is missing in default PATH on Guix > System >Message-ID: <20190523153138.6kspxwfzeisntll5@pelzflorian.localdomain> >Content-Type: text/plain; charset=us-ascii > >[...] > >Adding ~/.local/bin to the PATH is common on other distros. When >compiling and installing software as a user without making a package >for it, I want to configure it with --prefix=$HOME/.local so I can >install without sudo. Then I want to be able to run: > >myprog > >instead of > >PATH=$HOME/.local/bin myprog > >In particular, I want instructions to work on all distros, even though >Debian failed/fails to do this at the moment too. > >Regards, >Florian > I personally think including $HOME/.local/bin in PATH by default is unnecessary because the Guix package manager lets non-root users install packages and installs from source with the --no-substitutes option. However if some people don't want take the time to write and debug a package definition for programs they want to install that are not included in guix by default, installing to $HOME/.local remains a valid option. The simplest way to resolve this is probably to include it in the skeleton folder in your OS definition (flexible design FTW, am I right?). Maybe there can be a service to allow this option without everyone who wants it writing the code themselves?