From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iJ4VCu8aeWKdUwAAbAwnHQ (envelope-from ) for ; Mon, 09 May 2022 15:45:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CGsuCe8aeWKXsQAAG6o9tA (envelope-from ) for ; Mon, 09 May 2022 15:45:19 +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 18E18DD2E for ; Mon, 9 May 2022 15:45:18 +0200 (CEST) Received: from localhost ([::1]:34608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1no3hM-0005Hh-2D for larch@yhetil.org; Mon, 09 May 2022 09:45:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no3OY-0001HU-9z for help-guix@gnu.org; Mon, 09 May 2022 09:25:50 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:38638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1no3OW-0000CV-Q9 for help-guix@gnu.org; Mon, 09 May 2022 09:25:50 -0400 Received: by mail-wm1-x335.google.com with SMTP id 1-20020a05600c248100b00393fbf11a05so10767602wms.3 for ; Mon, 09 May 2022 06:25:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=gyOMre77MJg17jME+MRw7PfDsw8SODorNZPKwS9DdMA=; b=fJZ6aL1TopCSxRqsclRFE2YzMt9tNilbdUuWK5v4hH+HT2/8KFjVBgk/sJ7vHPVNjl auKJTIGOrc6pJBFzf39J7G/rASR4PrpniWODZbbZKmLX/TX4pAF8G8amJIjY3ud+CASO Hk2sfqhyAvGtdSveLoJbrVhEzxKeRVpxKar4XQpV98/dIqd0sLMwWIBcr+YWBZEGycI1 7/rs1H2Ksx8Uyfd6/ED1uFx1oXYGz5i7R8eVvL8xYhztxh99wWk0eZJrhB4F9UTAkB+T TxSgWP9OBbBDmdQqR/oIKwZifRgfb1JsByi0wqSf9IvZ3YTtLaqS8G+6tV535HCmgANJ hjhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=gyOMre77MJg17jME+MRw7PfDsw8SODorNZPKwS9DdMA=; b=FmoiBJe48Rsn4JDv4oSYtdJHXavDeYhNZ/xghw21pTiGdnoStJxlmbnmrF5qtJSx9y E2JWFyHGHi0CKor/wN3dmgofXW+bkBrhyO+3X7NeR3tSHmw7zEM5srsMI+IyBhijHbz2 B4FgxPRttKZ3gtpnwCEBAQDyV/5ZgporxIZEvkRl3i2h/tsAmR7HMnxMA6r0tvnIBNcG X2bsEVxWqMGHVqIW97BWRnpsamPA7uWMyiI1ORCZ+rgXipLNLk2pGvXnttcNnAX2sVRk n2T4GljFGCc5eynDzx04i5MrD16LA6TQe3vtEuef1XCNeH7fls48Vk43pjwjMPpiAB83 BBLg== X-Gm-Message-State: AOAM533pIbg2Zx1+70aYDsQuZrHb/Ul8pO7OeyZo6xD1t99CD37rPlP8 Q640MlIg48fcpuhUVhAP4Ky7BE1816g= X-Google-Smtp-Source: ABdhPJzjG/kPlWBjY/Nz4n2VXyLJOA9wnYdC0ckBHY0iYsmbB3Q0vAPl0bwcfwrmNTL08NfVCWPy4Q== X-Received: by 2002:a1c:a3c6:0:b0:392:a630:286c with SMTP id m189-20020a1ca3c6000000b00392a630286cmr15864354wme.72.1652102746988; Mon, 09 May 2022 06:25:46 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id s6-20020a1cf206000000b003942a244f3fsm17194898wmc.24.2022.05.09.06.25.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 06:25:46 -0700 (PDT) From: zimoun To: Ricardo Wurmus , Olivier Dion Cc: Olivier Dion via Subject: Re: Questions regarding substitutes with debug output In-Reply-To: <871qxf1wh7.fsf@elephly.net> 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> Date: Mon, 09 May 2022 12:33:59 +0200 Message-ID: <87k0av571k.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x335.google.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, FREEMAIL_FROM=0.001, 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652103918; 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=gyOMre77MJg17jME+MRw7PfDsw8SODorNZPKwS9DdMA=; b=ozlgcJsNZwVV3rlCvkr0TxNJCRSvXjRf9AhDMgCEocvicB+AjCLOm2/f4GI0Qi6YMOwAHv 2ROReoge4/xZNPBpVMOk9Q9VtiVVR7OrnOOrGoll4dcKmMZx+Hkq/tmKxuP+LQIt0sdkv2 Ii//V6iimL/sHffD54olnMl6yVe7XjgRimpWi+9ElZG76N9Kh49fsOxd9Hil15zCQ2amlM yuk1gFqOrvW+fIfdZO5Z2uelR1bhX7nJsZSBF8PzZha1VN2ceYAQpQoBOQCLCy2ksWs761 Qdy0MH7Iv+bDzwFOuysBgK4G5icyjFAzKy/TYFi+EaR3Q5/oTp5Ywbasu57aoA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652103918; a=rsa-sha256; cv=none; b=MJrmKYdOdhsW8DHEc1MBco3RbHiX4044FARGCk0J0f3c/cvQ9JZDjk2i7dHmazIzh185I0 Wma/TNLQ+AtQbjtBavowd+34tIFLV8cw3tJwz/a/plknJk5UYczcaM3yBiKTIx3z+/yOrG 8mlmIQw7uH7ck0SVSBcgrb/RHUzhIGlJrAlmGnAYCSAzddLAsZXg0bjCySP5VwcgBglXS4 n3h4OnXV2tNg+vGPLAZ+4qLWfaTmzdGLdw5nwphdq+vdt50bYpctahscAL1AmLmS6SUffW eJ28Fy2NMlq82XYN29HW7hqLEelnLTO3bjSsXN425OIIx9cbP5YfRIQS5RbxZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fJZ6aL1T; dmarc=pass (policy=none) header.from=gmail.com; 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: -9.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fJZ6aL1T; dmarc=pass (policy=none) header.from=gmail.com; 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: 18E18DD2E X-Spam-Score: -9.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZLNKHHnK8/ZU 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 wit= hout a > lot of boilerplate. Indeed. Where %my-channels would refer to a channels.scm file, right? However, as Olivier mentioned it, Guix commonly uses package name and version to refer to concrete defined packages; where the channel origin is not in the picture. Therefore, we generally add a string to the package name or version if a channel creates a variant for this very same package name and version. Otherwise it becomes hard to find back such variant. This hypothetical =E2=80=99with-channel=E2=80=99 would ease to create new v= ariants. 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. WDY= T? Cheers, simon