From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27386: offloading documentation and env Date: Fri, 29 Sep 2017 09:49:54 +0200 Message-ID: <873776vt99.fsf@gnu.org> References: <20170615170552.n7y5cxquqozpnesj@abyayala> <20170615211132.clkaslffc4a3l5bw@abyayala> <20170615221902.5ubbhriynb7wozrz@abyayala> <20170615223456.z5w2oaxifbah2ak2@abyayala> <87podq7cae.fsf@gnu.org> <20170626211511.ox5smekycmqz2vc3@abyayala> <87injh5z3h.fsf@gnu.org> <87wp4iehmm.fsf@santanas.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxq4f-0007dI-T6 for bug-guix@gnu.org; Fri, 29 Sep 2017 03:51:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxq4c-000840-Ra for bug-guix@gnu.org; Fri, 29 Sep 2017 03:51:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57068) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dxq4c-00083w-ON for bug-guix@gnu.org; Fri, 29 Sep 2017 03:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dxq4c-0005sT-HW for bug-guix@gnu.org; Fri, 29 Sep 2017 03:51:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87wp4iehmm.fsf@santanas.co.za> (Divan Santana's message of "Thu, 28 Sep 2017 21:40:49 +0200") 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: Divan Santana Cc: 27386@debbugs.gnu.org Hello Divan, Divan Santana skribis: > So guixsd.santanas.co.za is my build system VM. > Laptop, is a guixsd system I want to not compile code, and rather offload. > > root@laptop ~# ssh admin@guixsd.santanas.co.za env |grep GUILE_ > > Returns nothing. > > However, an interactive session has the correct environment variables. > So I suppose one could set this via the .zshenv or .bash_profile . Right. On GuixSD, the default .bash_profile sources .bashrc, and the default .bashrc has this: --8<---------------cut here---------------start------------->8--- if [ -n "$SSH_CLIENT" -a -z "`type -P cat`" ] then # We are being invoked from a non-interactive SSH session # (as in "ssh host command") but 'cat' cannot be found # in $PATH. Source /etc/profile so we get $PATH and other # essential variables. source /etc/profile fi --8<---------------cut here---------------end--------------->8--- I suggest you do something similar. HTH! Ludo=E2=80=99.