From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: bug#35864: ~/.local/bin is missing in default PATH on Guix System Date: Fri, 24 May 2019 08:49:30 +0200 Message-ID: <87d0k85oud.fsf@roquette.mug.biscuolo.net> References: <20190523122715.2oncjxqvpkl2ylbw@pelzflorian.localdomain> <87ef4pgsql.fsf@elephly.net> <20190523153138.6kspxwfzeisntll5@pelzflorian.localdomain> <87lfyxvuip.fsf@nckx> <20190523223614.rl2hqtdknhidmccx@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]:43618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hU42h-00066p-8g for bug-guix@gnu.org; Fri, 24 May 2019 02:51:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hU42f-0007Ye-Ti for bug-guix@gnu.org; Fri, 24 May 2019 02:51:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60673) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hU42f-0007YR-PN for bug-guix@gnu.org; Fri, 24 May 2019 02:51:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hU42f-0003zE-MP for bug-guix@gnu.org; Fri, 24 May 2019 02:51:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20190523223614.rl2hqtdknhidmccx@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: "pelzflorian (Florian Pelz)" , Tobias Geerinckx-Rice Cc: 35864@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Florian, this is not a bug, it's a feature :-) the "semantic" reason not to include ~/.local/bin in default path is to clearly state "use Guix" (even on foreign distros) to allow users to install packages and avoid the ~//bin _broken_ workaround IMHO at most ~/.local/bin is useful for user written scripts (but I prefer ~/bin for mine) "pelzflorian (Florian Pelz)" writes: > On Thu, May 23, 2019 at 09:31:09PM +0200, Tobias Geerinckx-Rice wrote: >> pelzflorian (Florian Pelz) wrote: >> > Adding ~/.local/bin to the PATH is common on other distros. [...] > My motivation was that I would have liked a uniform standard to exist > for offering uniform, simple compilation instructions I can't understand what ~/.local/bin have to do with *compilation*: do you mean installation? ...and AFAIU no distribution on earth install packages (or links) in ~/.local/bin Guix deploys in ~/.guix-profile/bin/ linking from the store... and it's awesome :-) [...] > for how-to-install sections in software project README files. It's easier to add instructions on how to add ~/.local/bin in $PATH, no? :-) anyway software projects that want to help users to install (without root permissions) in a sane way should define a Guix package, no more workarounds please [...] > Many other distributions are discussed at my stackexchange link from > before. not Guix nor Nix, IMHO it's because they choose to depart from the problematic FSH and derivatives long time ago and for this reason they are generally ignored when discussing FSH issues > I did not know about ~/bin being conventional, but others mention it > too. I do not like ~/bin for the reasons you stated: do you mean you don't like it because it's not hidden? :-) I don't like ~/.local/bin because it's ".local": =C2=ABCare should be taken when placing architecture-dependent binaries in this place, which might be problematic if the home directory is shared between multiple hosts with different architectures.=C2=BB (from [1]) [...] last but not least, probably systemd file-hieracy [1] is one of the *problematic* things of systemd ecosystem we should avoid ...I even ignored the existance of systemd file-hieracy: an init system defining a filesystem hieracy standard: mumble... Happy hacking! Gio'. [1] https://www.freedesktop.org/software/systemd/man/file-hierarchy.html =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlznk/oACgkQ030Op87M ORKFSg/8Ci8H1i06LfM3tiVkzp1CeoU8X+JLA/83R/51YloDUwrzMePCkCFw/Mf7 8R1fxFXR00QQ7+n1AsaB6Yu/KqYNm/x4STlabj9RSdno5wHxNFloU5DeOv6+NblD lozoJDVXiwtD7XNrV3p7kSr/KxGMpuxswlvIrYzL9Ujcuwj0ZYVbMsF5fIUey1e8 cEK1Wniw9EoeEU560yBuk85r5g85f7MSEqHvQCujh9zNJy6RHSbyrcPwxOIj5Jvl JJXnJM0UCBZEcNP7ikIE2o0QusFQlKqdpKM1bdoFAavC9XaA7yRct3DBBSQ+DrB2 njIKpnEstHGnkzZv/3G1fpbVfr4PrYWgG9uw34iUUkSdVFTcYDrtlQ3ddF9zbeIU cbyVCIgQot4QI8R2LSkgS4vlbCYfADiO19kMAGvlcslU378m9v29yg9Avu0JRp6A jmtFXAVQopTCdNAUXsTYYNpB8+mPTrBj+EvPLVz/pUO9M2Aq2VWLypjL2qLd0G6x ChLMTL7X7gdTIu8N+YY3YJq/5X8/WFweMR1C0SIMOCpVf+0uYRQB1y7AuH2VLFbW kGD9d5xwtWTfiNip2CCBnpFVOV/18SezVD3OGttsf0vRVKQ3mkvnZ+yiQzeYkoe4 UBSaXbCE4kgk0efQvPeR4gWXdH/S4/ZvSCXxt4PMrmgVSLMN2LE= =8gTm -----END PGP SIGNATURE----- --=-=-=--