From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#35864: ~/.local/bin is missing in default PATH on Guix System Date: Thu, 23 May 2019 17:31:38 +0200 Message-ID: <20190523153138.6kspxwfzeisntll5@pelzflorian.localdomain> References: <20190523122715.2oncjxqvpkl2ylbw@pelzflorian.localdomain> <87ef4pgsql.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:47034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTphN-0001Ve-Kj for bug-guix@gnu.org; Thu, 23 May 2019 11:32:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTphM-0003fO-Fw for bug-guix@gnu.org; Thu, 23 May 2019 11:32:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59742) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hTphK-0003dv-Js for bug-guix@gnu.org; Thu, 23 May 2019 11:32:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hTphK-00071S-CJ for bug-guix@gnu.org; Thu, 23 May 2019 11:32:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87ef4pgsql.fsf@elephly.net> 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: Ricardo Wurmus Cc: 35864@debbugs.gnu.org On Thu, May 23, 2019 at 04:17:38PM +0200, Ricardo Wurmus wrote: > > pelzflorian (Florian Pelz) writes: > > > ~/.local/bin should be added to the PATH environment variable by > > default, see > > . > > They say that this is specified in the systemd file-hierarchy > specification. We already ignore most of this specification (see any > entry mentioning /usr, for example). > > I think we can safely ignore this specification. > 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