From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KNOfLbYbeWKTYwAAbAwnHQ (envelope-from ) for ; Mon, 09 May 2022 15:48:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oMS5LLYbeWKHzAAAG6o9tA (envelope-from ) for ; Mon, 09 May 2022 15:48:38 +0200 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 09FB31DE2D for ; Mon, 9 May 2022 15:48:36 +0200 (CEST) Received: from localhost ([::1]:41074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1no3kY-0001S6-8g for larch@yhetil.org; Mon, 09 May 2022 09:48:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no3Xl-00077k-Ek for help-guix@gnu.org; Mon, 09 May 2022 09:35:21 -0400 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no3Xj-00023w-Dk for help-guix@gnu.org; Mon, 09 May 2022 09:35:21 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1652103314; cv=none; d=zohomail.com; s=zohoarc; b=h84cFlJGW8entHy/49cyGqbmAXnGjP5HisBGFG/dpxLroF1SnQefHscviws1RZi79J8jws3QC5KKWKm9lWs4k1YG8fimn6ydcqYLBeSvRt9enG1sC0G1HPMRDSMLd86fdH9XhK0yl7RPiVZrHo7NagAS/UY/HxmYjpwaHsxWVQI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1652103314; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=f2TT5SrNZrwQ15jDzFWgQokrPlAcTqOr2m56b/vBdiw=; b=AgifjkkagmsXtKiHDkX3cCc7aJgyg+4c6Zf+74lc2hsc4Uhe7jjDMT91z3aVB1FGKfuKCoKsjcCNvWQebPToTjYFd9v4vEmrLRyzxaa9Q6fJXu79dLUQeJBoX67SSjopeSiCG+4tp7wKpufvyKEQGUFcvIXlE4PB32g0+07hqFo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1652103314; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=f2TT5SrNZrwQ15jDzFWgQokrPlAcTqOr2m56b/vBdiw=; b=bUS8XxdnGVrzqwls5rJvok1+dmgCDC4K3b4Q8ZPaDoOjetVGs8z41ojKISOIi/31 grd2FpIuheGJEEoIwdxj0MyuQu6EeBVIYrzuO1fEzPduJODyypDdfAGD5AwmW5sNhfl QDcD4ludd0GSRbERTdGaIpQpgxVxZboCPnegmNeY= Received: from localhost (i5E862D30.versanet.de [94.134.45.48]) by mx.zohomail.com with SMTPS id 1652103312568379.96439113923225; Mon, 9 May 2022 06:35:12 -0700 (PDT) References: <877d7joe2w.fsf@laura> <87levx4ui1.fsf@gmail.com> <87ee1pur82.fsf@laura> <86mtg5eibr.fsf@gmail.com> <87mtg5qovg.fsf@laura> <87ee1ge0k4.fsf@gmail.com> <87bkwkq73s.fsf@laura> <87mtg327ww.fsf@elephly.net> <877d77rhhx.fsf@laura> <871qxf1wh7.fsf@elephly.net> <87k0av571k.fsf@gmail.com> User-agent: mu4e 1.6.10; emacs 28.0.50 From: Ricardo Wurmus To: zimoun Cc: Olivier Dion , Olivier Dion via Subject: Re: Questions regarding substitutes with debug output Date: Mon, 09 May 2022 15:33:53 +0200 In-reply-to: <87k0av571k.fsf@gmail.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87czgmrfqq.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.50; envelope-from=rekado@elephly.net; helo=sender4-of-o50.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652104118; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=f2TT5SrNZrwQ15jDzFWgQokrPlAcTqOr2m56b/vBdiw=; b=ZkRTtiTLQMcyebxMwQRrZGoxIMEgihvMAhJ7awgFYVJ0+/Ne5YqBU3ICuEXfeDk7MOYVZn /rJjc/X4oMMPPAYFgDQRIFQM/aV/XCFKE+5/Har9UrbSLKku9WClY6U4823zGmFI8zNy5r xLlTgMpwHRZHVP0/uf+VtzYoSIzvo3+0Gu3Kf12fH8SMU1A6Z8S8hGyIu6DXnB+u+l945U KBJU4QH88+6PFoUTdxcnZ0lUlIn4B0m5wboOlfAR/QtI90C8mcXeyuaLknuiTTu3FcNVAL jQVdb9pfhcd965Lg7RbYNDcasI0wsME0OxIT+N9CGxE6skfRlXY43UFsjZw/VQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1652104118; a=rsa-sha256; cv=pass; b=FxsRDI6MpeJe4WVV+XUtWgTT/O8wCc9+HHOiOmqmKDPuQHVwIeCzRqqfb6OHI05Mg3NsJ4 0Dc4kPRuF+Oultf5mVLWg/L9m2chc2CmjBJz2tC3unuFnbs31H/O9CJXyH15G2x4cuSlo3 ZIxr0v+36+jfLtI7NYqvs9RvsJ1mWZFOmQDP8vNDFrecCOqF8oneqOGVg6Uzd4PP8VcegO BlLjiaJY1nsCN6oFP/IM5jIA1SdV0o6yft9qXU9N7rDOZ8d90KtZnEJprPtbWYi/YYcrB1 ssmWgV7xTnJQJwUA6Z0opRCrJokI6Hs54/wLZO7StU6Xr2LDSA9kuTT6SLF+4Q== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=bUS8Xxdn; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -10.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=bUS8Xxdn; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 09FB31DE2D X-Spam-Score: -10.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: F9Bx3iZer6bT zimoun writes: > Hi, > > On Fri, 29 Apr 2022 at 22:08, Ricardo Wurmus wrote: > >>>> (with-channels %my-channels >>>> (package >>>> (name "yay") >>>> =E2=80=A6 >>>> (inputs >>>> (list foo bar baz)) ;these are all looked up in %my-channels > > [...] > >> We already have all the tools for WITH-CHANNELS =E2=80=94 that=E2=80=99s= (guix >> inferior). We just don=E2=80=99t have a convenient syntax to do this wi= thout a >> lot of boilerplate. > > Indeed. Where %my-channels would refer to a channels.scm file, right? A list of channels rather than a file. > What seems still missing is a way to select these variants from the > channel. > > I am proposing to somehow add a field to =E2=80=99properties=E2=80=99. W= DYT? Can we not infer this when adding package modules to the load path? Doing this once per channel seems better than having channel maintainers add this to every package. --=20 Ricardo