From patchwork Fri Jan 18 09:29:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 760 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 9F05216A88; Fri, 18 Jan 2019 09:31:11 +0000 (GMT) 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 0B44E16A7D for ; Fri, 18 Jan 2019 09:31:10 +0000 (GMT) Received: from localhost ([127.0.0.1]:34954 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkQUX-00043C-BT for patchwork@mira.cbaines.net; Fri, 18 Jan 2019 04:31:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkQUR-00041K-Kz for guix-patches@gnu.org; Fri, 18 Jan 2019 04:31:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gkQUQ-0007H6-Je for guix-patches@gnu.org; Fri, 18 Jan 2019 04:31:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36394) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gkQUQ-0007H0-GW for guix-patches@gnu.org; Fri, 18 Jan 2019 04:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gkQUQ-0007Zi-Bk for guix-patches@gnu.org; Fri, 18 Jan 2019 04:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34122] [PATCH 0/3] Build channel modules in the corresponding Guix Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Jan 2019 09:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34122 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34122@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154780380628993 (code B ref -1); Fri, 18 Jan 2019 09:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jan 2019 09:30:06 +0000 Received: from localhost ([127.0.0.1]:35675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkQTW-0007XZ-DA for submit@debbugs.gnu.org; Fri, 18 Jan 2019 04:30:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkQTT-0007W2-GE for submit@debbugs.gnu.org; Fri, 18 Jan 2019 04:30:04 -0500 Received: from lists.gnu.org ([209.51.188.17]:55804) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gkQTN-0006JD-VD for submit@debbugs.gnu.org; Fri, 18 Jan 2019 04:29:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkQTN-0003lA-6S for guix-patches@gnu.org; Fri, 18 Jan 2019 04:29:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gkQTM-0006Gr-Ar for guix-patches@gnu.org; Fri, 18 Jan 2019 04:29:56 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:43988) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gkQTK-0006BC-BW; Fri, 18 Jan 2019 04:29:56 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id EC33422D2; Fri, 18 Jan 2019 10:29:46 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q69qciQCqcyB; Fri, 18 Jan 2019 10:29:46 +0100 (CET) Received: from gnu.org (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 2E9C322A9; Fri, 18 Jan 2019 10:29:46 +0100 (CET) From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Fri, 18 Jan 2019 10:29:38 +0100 Message-Id: <20190118092938.12208-1-ludo@gnu.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: rekado@elephly.net Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello! Until now, we’d be building channel modules with the calling Guix rather than with the Guix of the 'guix channel we’re targeting. That led to breakage, for instance, when we added new dependencies to Guix itself and the channel modules would thus not see them; see commits 3c0e16391ed9a3e3e4611b940fb393c5f2ecea63 and cb341c121919877ae6267a6460c0c17536d06eff. These patches fix that. Ludo’. Ludovic Courtès (3): channels: Don't pull from the same channel more than once. inferior: 'gexp->derivation-in-inferior' honors EXP's load path. channels: Build channel modules in an inferior. guix/channels.scm | 139 +++++++++++++++++++++++++-------------------- guix/inferior.scm | 13 ++++- tests/channels.scm | 88 +++++++++++++++++++++++++++- 3 files changed, 173 insertions(+), 67 deletions(-)