Subject: Re: bug#63009: <guix-home>/profile/bin missing from PATH for ssh commands

From: Efraim Flashner <[email-masked]>
Date: Wed, 19 Mar 2025 08:05:09 +0200

On Sat, Mar 15, 2025 at 03:18:22PM +0800, Hilton Chain wrote:
> On Sat, 15 Mar 2025 13:34:38 +0800,
> Hilton Chain wrote:
> >
> > Hi Janneke,
> >
> > On Fri, 14 Mar 2025 21:02:56 +0800,
> > Janneke Nieuwenhuizen wrote:
> > >
> > > Janneke Nieuwenhuizen writes:
> > >
> > > Hello,
> > >
> > > > Ludovic Courtès writes:
> > > >
> > > > Hello,
> > > >
> > > >> This patch had fallen through the cracks…
> > > >
> > > > Ah, no problem.
> > >
> > > Oh my, as kinote noticed on IRC, somehow it fell through the cracks
> > > again: <https://logs.guix.gnu.org/guix/2025-03-14.log#124505>.
> > >
> > > >> Janneke Nieuwenhuizen <[email-masked]> skribis:
> > > >>
> > > >>>>From 2ac41477dad5699b748acfc72d4e91e0e14fa16a Mon Sep 17 00:00:00 2001
> > > >>> From: Janneke Nieuwenhuizen <[email-masked]>
> > > >>> Date: Sat, 22 Apr 2023 09:58:48 +0200
> > > >>> Subject: [PATCH] gnu: system: Cater for Guix Home in PATH.
> > > >>>
> > > >>> * gnu/system.scm (operating-system-etc-service): Also add a user's
> > > >>> <guix-home>/profile/bin directory to PATH, before <guix-profile>/bin.
> > > >>
> > > >> LGTM, thanks!
> > > >
> > > > Great, pushed to master as
> > > >
> > > >     ff2e22d1e122eb5b85fd85f8e922e6e8cfb0ee7b
> > >
> > > Really pushed to master as
> > >
> > >     2b6017dd0b031e43de7e66b3e1f3f331c0ab712c
> >
> > It seems this is already set by Guix Home?
> 
> SSH doesn't use a login shell, I see.

I believe the canonical place to set this is .ssh/rc

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted