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

The build host is not a pure guix installation but also has guix on top of Debian Buster. It seems like the file transfer command is using an ssh call which doesn't setup the proper guix environment (as, e.g., the /usr/local/bin/guix script does). For example, PATH will have /usr/local/bin before the guix environment such that the wrong guile is selected.

Not sure how the proper setup should look like on the build host side...