GNU bug report logs - #35864
~/.local/bin is missing in default PATH on Guix System

Previous Next

Package: guix;

Reported by: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>

Date: Thu, 23 May 2019 12:28:01 UTC

Severity: normal

Tags: notabug

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: 35864 <at> debbugs.gnu.org
Cc: rekado <at> elephly.net
Subject: bug#35864: ~/.local/bin is missing in default PATH on Guix System
Date: Thu, 23 May 2019 21:31:09 +0200
[Message part 1 (text/plain, inline)]
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? 
Is it merely a side-effect of them using systemd?  And most 
crucially: does it mean that Guix needs to add it too?  What about 
~/bin?

I'm was just interested in the (ideally: your) arguments for doing 
so, not a link to a discussion site.  If it really breaks things 
that should work, I'm all in favour of adding it to the default 
skeleton, if not /etc/profile itself.

> 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

You can already easily add custom directories to $PATH in your 
.bash_profile, if my understanding of bash's complicated set of 
configuration files is still accurate.  That's where I set it, 
anyway:

 ~ λ grep PATH= .bash_profile 
 PATH="$HOME/.local/bin:$PATH"

and it's always worked fine.  :-)

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 349 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.