From patchwork Thu Aug 15 08:08:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jakob L. Kreuze" X-Patchwork-Id: 14933 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AD098172B3; Thu, 15 Aug 2019 09:09:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 790201729E for ; Thu, 15 Aug 2019 09:09:11 +0100 (BST) Received: from localhost ([::1]:39266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyAoo-0003sn-Uk for patchwork@mira.cbaines.net; Thu, 15 Aug 2019 04:09:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34981) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyAoh-0003Xh-NM for guix-patches@gnu.org; Thu, 15 Aug 2019 04:09:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyAog-0005dd-LT for guix-patches@gnu.org; Thu, 15 Aug 2019 04:09:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41764) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hyAog-0005dY-Hd for guix-patches@gnu.org; Thu, 15 Aug 2019 04:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hyAog-0004cl-BY for guix-patches@gnu.org; Thu, 15 Aug 2019 04:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36957] [PATCH 5/5] remote: Use (%daemon-socket-uri) rather than hard-coded path. Resent-From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Aug 2019 08:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36957 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Lemmer Webber Received: via spool by 36957-submit@debbugs.gnu.org id=B36957.156585650517724 (code B ref 36957); Thu, 15 Aug 2019 08:09:02 +0000 Received: (at 36957) by debbugs.gnu.org; 15 Aug 2019 08:08:25 +0000 Received: from localhost ([127.0.0.1]:50584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyAo5-0004bo-Ky for submit@debbugs.gnu.org; Thu, 15 Aug 2019 04:08:25 -0400 Received: from mx.sdf.org ([205.166.94.20]:53838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyAo3-0004bg-WF for 36957@debbugs.gnu.org; Thu, 15 Aug 2019 04:08:24 -0400 Received: from Upsilon ([62.102.148.69]) (authenticated (0 bits)) by mx.sdf.org (8.15.2/8.14.5) with ESMTPSA id x7F88IFL007726 (using TLSv1.2 with cipher AES256-GCM-SHA384 (256 bits) verified NO); Thu, 15 Aug 2019 08:08:21 GMT From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) References: <87a7cl3zyy.fsf@sdf.lonestar.org> <87sgqcobds.fsf@dustycloud.org> <87pnlgjymv.fsf_-_@sdf.lonestar.org> <87y304vyyo.fsf@elephly.net> <87tvarjtgw.fsf@sdf.lonestar.org> <87h86jxyea.fsf@dustycloud.org> <875zmy26u6.fsf_-_@sdf.lonestar.org> <871rxm26rz.fsf_-_@sdf.lonestar.org> <87wofezwd6.fsf_-_@sdf.lonestar.org> <87sgq2zwby.fsf_-_@sdf.lonestar.org> <87o90qzwaw.fsf_-_@sdf.lonestar.org> Date: Thu, 15 Aug 2019 04:08:22 -0400 In-Reply-To: <87o90qzwaw.fsf_-_@sdf.lonestar.org> (Jakob L. Kreuze's message of "Thu, 15 Aug 2019 04:07:19 -0400") Message-ID: <87k1bezw95.fsf_-_@sdf.lonestar.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 36957@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * guix/remote.scm (remote-eval): Use (%daemon-socket-uri) as the default value of 'socket-name' rather than hard-coded path. --- guix/remote.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/remote.scm b/guix/remote.scm index d8124e41ab..ae2fe17dd2 100644 --- a/guix/remote.scm +++ b/guix/remote.scm @@ -106,7 +106,7 @@ result to the current output port using the (guix repl) protocol." (build-locally? #t) (system (%current-system)) (module-path %load-path) - (socket-name "/var/guix/daemon-socket/socket") + (socket-name (%daemon-socket-uri)) (become-command #f)) "Evaluate EXP, a gexp, on the host at SESSION, an SSH session. Ensure that all the elements EXP refers to are built and deployed to SESSION beforehand.