From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 22 19:28:23 2020 Received: (at 40125) by debbugs.gnu.org; 22 Mar 2020 23:28:23 +0000 Received: from localhost ([127.0.0.1]:51147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGA11-0001tl-2n for submit@debbugs.gnu.org; Sun, 22 Mar 2020 19:28:23 -0400 Received: from mail-vs1-f41.google.com ([209.85.217.41]:46895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGA0z-0001tX-6p for 40125@debbugs.gnu.org; Sun, 22 Mar 2020 19:28:21 -0400 Received: by mail-vs1-f41.google.com with SMTP id z125so7574867vsb.13 for <40125@debbugs.gnu.org>; Sun, 22 Mar 2020 16:28:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=VPRg622Y8Gif/LqM1vGOlg5HAejFipetqo2Lvn0BE/Q=; b=ANxJqxpXYZq2mW0tmdSBC1ph3329zHVUNnmY/WlDKyADOTr2dHGKFD+kgPxgw+ItFp Zo4xRBP92SgJYmZC8nbDD5jS3Og/tboTk7FEFCZHB5BH6cHvlEVArCZFLNj5bZ4KJ1dj zJh70EQKMz8D3yduqpH+GfdyNVFMyZNEPQMcvEx/E4chpWv6frXt77aOlzdnsDpsyDQD Ab9p9hvwVFe0Zj5xtKKv6CGEEt7+H5K5Wa2SESDABoZRzbMenko92rWVrI72NgWH/pu/ VJWWP3U+ODAMgE8Jf+3it1V+Q4eKw1CPx8zf+VpqhWWjfS/gYZme33Lv9EK8Cou7cieP 9Dgg== X-Gm-Message-State: ANhLgQ1pm5zQU1i+8K00MJNdRfrhg/lbSW92W6GhE5YRaM+OF9FWbxqq Exf33IWppA92M2u8d8HBzNHNVC85lqHGQekF/Go= X-Google-Smtp-Source: ADFU+vsLCprD+l8pxqf9dqH0Gafa5c64xsCtX95F9lS+cXM928oV4gz5id6u8FNf7cpDfilNrICkaEQmImlP40p0QiM= X-Received: by 2002:a67:2904:: with SMTP id p4mr1468855vsp.101.1584919695741; Sun, 22 Mar 2020 16:28:15 -0700 (PDT) MIME-Version: 1.0 References: <87eetl1zce.fsf@gnu.org> <87pnd5wdyq.fsf@gnu.org> <8736a0uni2.fsf@gnu.org> <87d0943tuy.fsf@devup.no> <87a7483sk0.fsf@devup.no> In-Reply-To: From: Mikael Djurfeldt Date: Mon, 23 Mar 2020 00:28:04 +0100 Message-ID: Subject: Re: bug#40125: Problem with guix offload: Remote channel closed To: Marius Bakke Content-Type: multipart/alternative; boundary="0000000000007657ea05a179df17" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 40125 Cc: =?UTF-8?Q?Ludovic_Court=C3=A8s?= , 40125@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: mikael@djurfeldt.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --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--