From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikael Djurfeldt Subject: bug#40125: Problem with guix offload: Remote channel closed Date: Mon, 23 Mar 2020 00:28:04 +0100 Message-ID: References: <87eetl1zce.fsf@gnu.org> <87pnd5wdyq.fsf@gnu.org> <8736a0uni2.fsf@gnu.org> <87d0943tuy.fsf@devup.no> <87a7483sk0.fsf@devup.no> Reply-To: mikael@djurfeldt.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007657ea05a179df17" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60238) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGA1f-0004iZ-Np for bug-guix@gnu.org; Sun, 22 Mar 2020 19:29:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGA1e-0004pr-N6 for bug-guix@gnu.org; Sun, 22 Mar 2020 19:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45174) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGA1e-0004pn-Kq for bug-guix@gnu.org; Sun, 22 Mar 2020 19:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jGA1e-0001uj-I1 for bug-guix@gnu.org; Sun, 22 Mar 2020 19:29:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: 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-mx.org@gnu.org Sender: "bug-Guix" To: Marius Bakke Cc: 40125@debbugs.gnu.org --0000000000007657ea05a179df17 Content-Type: text/plain; charset="UTF-8" On Mon, Mar 23, 2020 at 12:12 AM Mikael Djurfeldt wrote: > > Just as a test, I enabled user specified environments in sshd_config (such > that ssh reads .ssh/environment) and added the following there: > > > PATH=/gnu/store/0awhym5h0m890n0wq87y0dxznh14rk88-guile-next-3.0.1/bin:/home/guix/.guix-profile/bin:/usr/local/bin:/usr/bin:/bin:/usr/games > > GUILE_LOAD_COMPILED_PATH=/gnu/store/nkh7c4ygaivfxdq3zhccl4a5qxrn6s88-guix-module-union/lib/guile/3.0/site-ccache:/gnu/store/0awhym5h0m890n0wq87y0dxznh14rk88-guile-next-3.0.1/lib/guile/3.0/ccache > > GUILE_LOAD_PATH=/gnu/store/nkh7c4ygaivfxdq3zhccl4a5qxrn6s88-guix-module-union/share/guile/site/3.0:/gnu/store/0awhym5h0m890n0wq87y0dxznh14rk88-guile-next-3.0.1/share/guile/3.0 > GUIX_PROFILE=/home/guix/.guix-profile > GUIX_LOCPATH=/home/guix/.guix-profile/lib/locale > > This made the offload test work. > > Crucial here is the PATH to guile 3.0.1 as well as the GUILE_LOAD_* paths. > > But how are these *supposed* to be setup on the build host??? > Just to be clear: You're right that this can be done without .ssh/environment and just using a modified .bashrc. But how am I supposed to retrieve all those PATHS in a way that doesn't have to be modified as I update guix? --0000000000007657ea05a179df17 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Mar 23, 2020 at 12:12 AM Mikael D= jurfeldt <mikael@djurfeldt.com> wrote:
--0000000000007657ea05a179df17--