From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SEvsNAEZgGDDJgEAgWs5BA (envelope-from ) for ; Wed, 21 Apr 2021 14:22:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id Iv1wMAEZgGDPBQAAbx9fmQ (envelope-from ) for ; Wed, 21 Apr 2021 12:22:25 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9150F14D59 for ; Wed, 21 Apr 2021 14:22:25 +0200 (CEST) Received: from localhost ([::1]:42024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZBs8-0002oE-GV for larch@yhetil.org; Wed, 21 Apr 2021 08:22:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZBrn-0002XA-0m for guix-patches@gnu.org; Wed, 21 Apr 2021 08:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZBrm-0007AQ-Ps for guix-patches@gnu.org; Wed, 21 Apr 2021 08:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZBrm-0005aC-MU for guix-patches@gnu.org; Wed, 21 Apr 2021 08:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47929] [PATCH 2/5] scripts: pull: Load (gnu packages) module. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 21 Apr 2021 12:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47929 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47929@debbugs.gnu.org Cc: Mathieu Othacehe Received: via spool by 47929-submit@debbugs.gnu.org id=B47929.161900769021380 (code B ref 47929); Wed, 21 Apr 2021 12:22:02 +0000 Received: (at 47929) by debbugs.gnu.org; 21 Apr 2021 12:21:30 +0000 Received: from localhost ([127.0.0.1]:57114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZBrF-0005Yc-Mb for submit@debbugs.gnu.org; Wed, 21 Apr 2021 08:21:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZBrE-0005YD-8p for 47929@debbugs.gnu.org; Wed, 21 Apr 2021 08:21:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54764) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZBr9-0006ll-3S for 47929@debbugs.gnu.org; Wed, 21 Apr 2021 08:21:23 -0400 Received: from [2a01:e0a:19b:d9a0:9576:8bbf:4795:82ee] (port=38154 helo=localhost.localdomain) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lZBr7-0003pa-Ky; Wed, 21 Apr 2021 08:21:22 -0400 From: Mathieu Othacehe Date: Wed, 21 Apr 2021 14:21:05 +0200 Message-Id: <20210421122108.2344-2-othacehe@gnu.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210421122108.2344-1-othacehe@gnu.org> References: <20210421122108.2344-1-othacehe@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619007745; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=eC4o8co4KLMva+3iSzXqLMakt7mpFSWHBPVB2D5wqHg=; b=fDT/VgdJrzvOU6gvA3var1xa9WKgrVaD1kHYXr0/7TSObE+iNAI/fmR8slCFeVJPTtZNbJ jdww392p8oQpCUsr6IPtdAzab1IknxJEJHy4un3zWc8YynePxp+SXldS+RQT1+dhawIeVU hkc7WJh0edFhhmzkpX8y6/W1FhkoBfzZ++lvDj7poQg+IkjLI80GGXt405G2D2L9iYXPNy 9kJvMp/k22tj6Ld+2uR9kFaBxpkjy7YMEeDbEtpRJqdWLbCyVsWTHpOuk2Jf59bkekKsRr 10hlS2/r9VsVV4gBgJ6GTKMw0eJUtKBbFhr2MfXRygf2H0N+C5F2wM76SFyZTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619007745; a=rsa-sha256; cv=none; b=nh5JwgWZA1gkb4QeYNEXElLoeYHVWv1rXhaIY/zKK0coQfht074mNiDpqN1k3J+KCiRWTy W3TmgwvD1KowpM3//rIJnKDHjCZsCFitSf9LoFIEGj/iYqjIqB0D2fzI6QxS6ynSm5NcJw myVDg1LPzUHV1JQrrcPIFyeZncTjKgyf5jOVfi/shDwFtleaT/adhMstSCm+smfy7pCAAQ p0YC+Ut4G0NqMLk9w3DH5LLRMvc1DdDhuevKEUI5i3oK/MmzIM95LxLLD7JlbAnVlpk+mj 2WcgR8L3B5odtAq40nGYlUIg6mLBxn+Hxvo4IYdA1lN3793x+Op/JrHiwS4m8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.06 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 9150F14D59 X-Spam-Score: 2.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: VkQO3xxijQvn This allows to pass a manifest to channel-with-substitutes-available this way: (channel-with-substitutes-available %default-guix-channel "https://ci.guix.gnu.org" (specifications->manifest '("git" "emacs-minimal"))) * guix/scripts/pull.scm (channel-list): Load the (gnu packages) module when evaluating the user channels list. --- guix/scripts/pull.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm index 07613240a8..662239b492 100644 --- a/guix/scripts/pull.scm +++ b/guix/scripts/pull.scm @@ -707,7 +707,8 @@ transformations specified in OPTS (resulting from '--url', '--commit', or (string-append %sysconfdir "/guix/channels.scm")) (define (load-channels file) - (let ((result (load* file (make-user-module '((guix channels)))))) + (let ((result (load* file (make-user-module '((guix channels) + (gnu packages)))))) (if (and (list? result) (every channel? result)) result (leave (G_ "'~a' did not return a list of channels~%") file)))) -- 2.31.1