On Sun, Mar 22, 2020 at 11:30 PM Marius Bakke <mbakke@fastmail.com> wrote:
Mikael Djurfeldt <mikael@djurfeldt.com> 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.