From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0J6VHgGt7WahiwAAqHPOHw:P1 (envelope-from ) for ; Fri, 20 Sep 2024 17:12:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0J6VHgGt7WahiwAAqHPOHw (envelope-from ) for ; Fri, 20 Sep 2024 19:12:33 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="aBrFuI/O"; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726852353; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=Y/G7+Pf8UZCbWpEBFQ+YqlRQeHk82uvnr4veWtogWns=; b=Ak8q4aKNCpWG2vLHF/eNnLaB7DunCBO4NbDNfub77ZpuuczQafU4se2LefyFSWLoLZMtpU ob2NCMIKR++YLfm9pM0vuhjxA7vLpspREWZzIa1b+6xagw/lhCcP1FtXeM5YSWoRtBl3r2 g2Co0YJO5NeqV2ZXjlavrBzARTD2nPQ+CJma6UkeP8i2c7fMnOAiBqHtyaQ5AsZq6jmkVt xtebCaVSBC9g9GXvBomJOHeHkNhVmCPZSXjHiOmXOKz+rXaIUMdO5ts3+G61H+ifRsFeOv DZke+DPoO6BaxaH7xgyXoZbINcZPr/fHUSMnVA6EqOXFRa+O2u3CTgMdnWD9uQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726852353; a=rsa-sha256; cv=none; b=ixLPlrrBV2hkV0bkarZGEnWeDqy5pFV+hhxoy0ogEhcQXrHt4Hz08ICX20qGjttiZSbrNE eRGE7YGFn42o3cCpH2HTI2CfURDaoioTs/NqWRwC1/rx8HbdQpqAp2+/mB/uw/NyLfy0cd RY42/fX3AcxCMOlmpyST4Nm1C3kONL49ytZA50l7WF80bfoqjeJxPUqOEpd5C4Pv8nbvkS ZoF0mzyTME8AX3IqK1OMggd2UO5F7fajn2fn/HK7+RmDQAQnUiWM9q0rt0rZdHvP52Rahc zHbAMKonKwDTsw1fs4XryGHNDJI3P/fcwuUXplZyJYH9XHTEcao2/ycHecGP3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="aBrFuI/O"; 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"; dmarc=pass (policy=none) header.from=gmail.com 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 46ED61A843 for ; Fri, 20 Sep 2024 19:12:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srhAT-0005EU-An; Fri, 20 Sep 2024 13:11:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srhAR-00058r-Qm for help-guix@gnu.org; Fri, 20 Sep 2024 13:11:39 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srhAQ-0004hH-6y for help-guix@gnu.org; Fri, 20 Sep 2024 13:11:39 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-42e748f78d6so18685915e9.0 for ; Fri, 20 Sep 2024 10:11:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726852296; x=1727457096; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Y/G7+Pf8UZCbWpEBFQ+YqlRQeHk82uvnr4veWtogWns=; b=aBrFuI/OxmX82jnoZ++l0YSPYqywdZb+sGOlJjOF5rkj2UrsSAFhhdjNc6k/d14ghy R3EORZQkLiwYS7zHjGNQbblcaitbAcFS8znchlxlR2xvPa8Nv454x6qlZqlBSjppovxo G/Aa2H8qYKkpq+3Llt/0CZ3QntsAruW0Z0I0JkTClNOlc+JGfRV0y/dLHL8HAvU0JW1D PLBsNsLEAEJJHEFt3bPGz24UPbbkWBQG5aGGr8CZJMUZz89jWy8MK/m69GJQOqmLrpXu YHgv9EcepwMtUXBwyscHk8TPQUApBN6uJPLicJJ8bzzSq+uHPzljTTa9IS5zU+4KnzT9 TNYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726852296; x=1727457096; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=Y/G7+Pf8UZCbWpEBFQ+YqlRQeHk82uvnr4veWtogWns=; b=I6+uXyh5jJx05SHUoqAXwVnAC7FkciB5vHlzQE+HVVLJZ7DHIEWfBAXrgLBoAVBThL AkxYNhB7N3Q722T+BDrAHS/lqv4g15M8vDJkwRv29qO283BUeeza+IRx0TaO4iuAzGdv 5d5Zt9U00EZo1SeqJ/iYlDIeVJQSboENn8ke4DhguomUVLztnf5U9H7FHn5zp1TuRzyF 5XVz/TRIfl87nUProEmclJtfswnXWogZapcub8yLxooFfpCUgWVMBg7VnO0p/2cOi0jr Gxv/F5PWK6LoKAsbRwIy9tjPWNpDzOP8FItZapef/7kBZzM8u1wBGzWI9INrEM0ptUe2 3X/w== X-Forwarded-Encrypted: i=1; AJvYcCUswVkcw8Sd4G99piXyI32t/TAffko+B7uxBW3WYq1iwYnM1RcSHL1UL7CqXNfIUr/7qbbD7MQKHz4=@gnu.org X-Gm-Message-State: AOJu0YzH+x6FvgiAwWgKbH7kLR+zLLorxCdCar/nY0VkwWtNrxheWpwM ITFg3DESstAEW2C9TJP/HjX4+TRNiib5vTHw2CaWJRpEnkEefi3m3g+V/g== X-Google-Smtp-Source: AGHT+IF3xGWi9afI0/hVL3ehT6iOQNEDySHUWG/4xdiHnydENw7BHgV2uEaNoD2aSyhxcRWJgL5QtA== X-Received: by 2002:adf:fa82:0:b0:374:c432:4971 with SMTP id ffacd0b85a97d-37a4313e694mr1904527f8f.16.1726852296321; Fri, 20 Sep 2024 10:11:36 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378e73e85ccsm18070742f8f.42.2024.09.20.10.11.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2024 10:11:35 -0700 (PDT) From: Simon Tournier To: Jake , help-guix@gnu.org Subject: Re: Referring to an origin input in a package variant In-Reply-To: References: Date: Fri, 20 Sep 2024 18:47:13 +0200 Message-ID: <87jzf6s25q.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::32f; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32f.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 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.83 X-Migadu-Queue-Id: 46ED61A843 X-Spam-Score: -9.83 X-TUID: M5TVrW9T19OV Hi, On dim., 15 sept. 2024 at 12:52, Jake wrote: > Does our input still have a label we can refer to in a package variant? = If > the input was a package, we could refer to it by the package's name > string. But what about for an origin input? Yes, the current internal for the new style works with =E2=80=99package-nam= e=E2=80=99 as the label. > But what about for an origin input? If there is only one =E2=80=99origin=E2=80=99 then you can use =E2=80=99_= =E2=80=99 to refer to it. Since that=E2=80=99s not handy and does not work when there is more than on= e, please see patch proposal v2 [1]; still WIP and v3 should come. :-) Cheers, simon 1: [bug#73073] [PATCH v2 0/8] Allow origin inside inputs with "new style". Simon Tournier Tue, 10 Sep 2024 03:27:08 +0200 id:cover.1725930587.git.zimon.toutoune@gmail.com https://issues.guix.gnu.org/73073 https://issues.guix.gnu.org/msgid/cover.1725930587.git.zimon.toutoune@gmail= .com https://yhetil.org/guix/cover.1725930587.git.zimon.toutoune@gmail.com