From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QD4xMkTTp2BjgQAAgWs5BA (envelope-from ) for ; Fri, 21 May 2021 17:35:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SBjgLUTTp2AZXgAA1q6Kng (envelope-from ) for ; Fri, 21 May 2021 15:35:32 +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 4547A1D67E for ; Fri, 21 May 2021 17:35:32 +0200 (CEST) Received: from localhost ([::1]:46522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lk7BT-0000GK-1y for larch@yhetil.org; Fri, 21 May 2021 11:35:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk7BC-0000Ei-8b for guix-devel@gnu.org; Fri, 21 May 2021 11:35:14 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:56179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk7B8-000087-Uv; Fri, 21 May 2021 11:35:14 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id AD358FF804; Fri, 21 May 2021 15:35:06 +0000 (UTC) From: Nicolas Goaziou To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [PATCH RFC 0/4] Getting rid of input labels? References: <20210520145830.14108-1-ludo@gnu.org> Date: Fri, 21 May 2021 17:35:06 +0200 In-Reply-To: <20210520145830.14108-1-ludo@gnu.org> ("Ludovic =?utf-8?Q?Cou?= =?utf-8?Q?rt=C3=A8s=22's?= message of "Thu, 20 May 2021 16:58:26 +0200") Message-ID: <87wnrsw15h.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.199; envelope-from=mail@nicolasgoaziou.fr; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621611332; 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; bh=ZHJs3IjFEpUu758+WF3fA7+YD/ZA0z7f+8dnyrnTM1s=; b=X1VD0iPPFNTTk5mNqGqR6Wz3AWVvqIihcJWJBoqN73d/Myo8XscvRJNTjZLAcbT42Nbq6C X76H/oSpoxx+JaYRbdp48vVw0xFMG6IhfbfVg+IGSPxNYwHJL2zl4uahU1SqOEUcPoyu8o AyVYlg5uASCUnFr16930R+n4Y9u/P5NadPwXo20OmacKmknKUYYZfwW/CN1xV27559gKJQ YWxU0VzrS2QX6JI4i+WR5w1GhVqJcjGdICJjOIdF1/cfRfSkGGzvkp3OQPzYkA8HuEuTfP f5ivxmasAhRAlw6yCILDSXtAQXBMYjVwGcXBGMlLpSfnUcewaE5ExngXKUB8MQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621611332; a=rsa-sha256; cv=none; b=Urp66LKtDkyR7qNma9dZgnQ4NZG33OHp5BovG/LwNyxDZTKwQwRghXXo1Dwdb5SV0N/xCn jL3FSdrfDYjKSxWGi746TAT/gNu/N905S37duS3aGTFs3CsZKx8EoQCnun1Ev9ojbVkl6k 6+C/jchTUmxW0k5/Y5UwAwh8fVaPkk7hKdxduDjFQ+RopRzM0RfqE4Acf6IZJMUhVll4gN fIkYsS9Ztuo95BkNBXVndrG9uXmSr13Mg3q6olljZlP0VbaA2y3xyhjQYNc9A93IjKjpzQ PERkKkarxNZ0ftFP9HBt3ZFn39Phn41Bz3H9CrnIEHOrtFI8xeLtEWjdSAtvQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 4547A1D67E X-Spam-Score: -1.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: NHP51/Ip3zCS Hello, Ludovic Court=C3=A8s writes: > Here=E2=80=99s a proposal for a soft revolution: getting rid of input lab= els > in package definitions. Instead of writing: > > (native-inputs > `(("autoconf" ,autoconf) > ("automake" ,automake) > ("pkg-config" ,pkg-config) > ("guile" ,guile-3.0))) >=20=20=20=20=20 > one can write: > > (native-inputs (list autoconf automake pkg-config guile-3.0)) Nice! Thank you. > =E2=80=A2 Packages such as =E2=80=98tzdata=E2=80=99 use labels to refer= to non-package > inputs. These cannot be converted to the automatic labeling > style, or not without extra changes. Would it be possible to write something like (inputs (let ((tzcode (origin ...))) (list ... tzcode ...))) ? > > =E2=80=A2 Currently, something like: > > (inputs (list glib)) > > is converted to: > > (inputs `(("glib" ,glib))) > > Should it, instead, be converted to: > > (inputs `(("glib" ,glib) > ("glib:bin" ,glib "bin"))) > > ? This would make the concise style strictly less > expressive, but maybe good enough? Could the new syntax accept both variables and specifications, e.g., (list "glib:bin" foo "bar@2.3") ? Regards, --=20 Nicolas Goaziou