Subject: Re: bug#40125: Problem with guix offload: Remote channel closed

From: Mikael Djurfeldt <[email-masked]>
Date: Sun, 22 Mar 2020 23:44:28 +0100

On Sun, Mar 22, 2020 at 11:30 PM Marius Bakke <[email-masked]> wrote:

> Mikael Djurfeldt <[email-masked]> writes:
>
> > The PATH of the build machine user is:
> >
> >
> /home/guix/.guix-profile/bin:/home/guix/.config/guix/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/opt/thinlinc/bin
>
> Do you get the same result if you run:
>
>   ssh wand 'echo $PATH'
>
> ?
>
> It might be .bashrc is configured not to source the relevant scripts
> when being invoked non-interactively, and/or through an SSH session.
>

You're right. It doesn't source the scripts. The PATH only becomes
/usr/local/bin:/usr/bin:/bin:/usr/games in this case.