From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ePTrECafw2EfhgAAgWs5BA (envelope-from ) for ; Wed, 22 Dec 2021 22:56:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MEalDCafw2ElXgAA1q6Kng (envelope-from ) for ; Wed, 22 Dec 2021 21:56:54 +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 07EDBBB2B for ; Wed, 22 Dec 2021 22:56:54 +0100 (CET) Received: from localhost ([::1]:55394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n09bR-0003kW-7M for larch@yhetil.org; Wed, 22 Dec 2021 16:56:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n09bG-0003kO-Qu for guix-devel@gnu.org; Wed, 22 Dec 2021 16:56:43 -0500 Received: from [2607:f8b0:4864:20::12d] (port=34697 helo=mail-il1-x12d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n09bF-0001r7-7D for guix-devel@gnu.org; Wed, 22 Dec 2021 16:56:42 -0500 Received: by mail-il1-x12d.google.com with SMTP id d14so2849615ila.1 for ; Wed, 22 Dec 2021 13:56:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=R4K7jzziVFsWGhIo/2X30SjH1ZE1Qp5dJbIBpbbvveY=; b=e+epMvLVbThVEwSiMpiD6CcPeq4b9TZBP9Taz6Q8gCSF9lwtWhvf2ANVk1o9fPgNVS Qu9KkZklJRBv49XQAsbNNjsa1wRVq6AkcggAw5IFwhKzNigutB85C3njvsdpg9VzqAUn 9asLhpiooeP7fgysgCPj7LOF+++DfEhcqB+fbCBgKZztfjcRnuTCNJ0PnRjDcq/FDu6L sOQLs/KCBCpiRmTz3ooEWWfVMMvkg6KOG9/wLokbChD4qVrJtt18X9znOU8axZTw7hTf sYy4mx8YhjVWyvI1o+VwZTRsput1zLVX5wn2/YTf5gvAMeCmfsZ5NIcuf/h4VtykXDg5 Dz8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=R4K7jzziVFsWGhIo/2X30SjH1ZE1Qp5dJbIBpbbvveY=; b=0qtqtnogf4BRFnkEIeqPsZQ/TuHyqpvd87iagT9XabVc2M5xj9Dc/ly/V1J+9X1n/s X037LX4+0o46qEoSPJaxFxN6a3QO1c64snBwOaClEgoL3zjR5zUnfgSCB8umaQF5XHdr PNZfgvvdxvkaA9lSBYJt32Akzg9eHabRQBM/k6+7LjYJuk4qaYDM1mxf+UyB+QirB/aZ kxRVXkhcbwQu4hgCMe4u//mMCb7nynchqAderAfL1zIANmdIz2kfqFNk8I+Zf8wuIBnW 0ameSr+uxUibIuyUBGMD94Vah+RwpPqVi8cqsCemCIqbB5TZqfsp3aX2HEDzVgeqqmHn l1PA== X-Gm-Message-State: AOAM532zQ1yoQvnhh4Yl5jUgZxzL4Y1+TLqd+UMFMRf6cyMDqGISPbpi HW2gemG1rd9eorN2zA8zKkx9XKhmd9FUPV7Z+pI= X-Google-Smtp-Source: ABdhPJx4xbRW22xV7Ui53xsLpjlPenfUf+6L83ZyvzXr74MKgcqMjWxFY6DOw+JIFb7/2OC9Ba4aiU0PUxF/ruVFrz4= X-Received: by 2002:a05:6e02:1c0d:: with SMTP id l13mr2550204ilh.156.1640210200146; Wed, 22 Dec 2021 13:56:40 -0800 (PST) MIME-Version: 1.0 References: <86bl18sscd.fsf@gmail.com> <23734860fbd9ee8f96b6878aadde0b2a5fe74b69.camel@gmail.com> In-Reply-To: <23734860fbd9ee8f96b6878aadde0b2a5fe74b69.camel@gmail.com> From: zimoun Date: Wed, 22 Dec 2021 22:56:28 +0100 Message-ID: Subject: =?UTF-8?B?UmU6IENvbnZlbnRpb24gZm9yIG5ldyDigJxndWl4IHN0eWxl4oCcPw==?= To: Liliana Marie Prikler Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::12d (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::12d; envelope-from=zimon.toutoune@gmail.com; helo=mail-il1-x12d.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 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 Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640210214; 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=R4K7jzziVFsWGhIo/2X30SjH1ZE1Qp5dJbIBpbbvveY=; b=L4C/PsDg39NQmubgVvRMFtDpoPdKH/6saMLw1GmE303iERgLl1NP34Xfz8dl3yzq6Wh48b vsRt1+hiKX91deTUIhi3kJ1MvpufmriYtrJ4nAs+01+txiM8ncq5I7ToFcqNnZer8DOFx/ drCd5XYS5ZHIR8Dr2eMnfXpIuNSB7/Zj4NBJhEMoMLWW+Gj0AweRGzBWl/PBeLm5YhlUGO Iagm91EjjGRrbwXL53AdBDDZ2ged2PBmbcbvJWnahJxuRR66wUoTMdT7+ros387P7nch0i 06BquMiZJnjt3bxpkziZ3zpSygvAMTt7KgiR/tjGb1xySYBOo3UZLxKite5Ncg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640210214; a=rsa-sha256; cv=none; b=DQ09TCGfrlBwPucgrowkcy0N6v5mFowTYaKcSJ8ApW4ObBR+RHT26TMg3cOAtJYPackVqn DiM+MxThQP4W4QOlylO2spLPAVq1GlDD3/9PLU8/P8TrQZor4IHppe6nw6l8S9YTvktPMB iYunfHhjXQHbmUQ2zL8059Rq3VXyUz9FZ0auqeT78OLm6yQXo+1KZRlT/8TNPLEyJNJ3I6 nY+VK9n+RjNiAymqLnp1De5OGE1C0xeizbb3127LTbAjGgGRK7X+2HzBgtlKK2ZFwlYbXu SbiKybqGCaYs+nPTsV36M5C2JJ73w8PAcfCHn40ewwYAtIeBsvUIce1Tea3h7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=e+epMvLV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=e+epMvLV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 07EDBBB2B X-Spam-Score: -5.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: INiD7iu4jQPq Hi, On Wed, 22 Dec 2021 at 22:18, Liliana Marie Prikler wrote: > Am Mittwoch, dem 22.12.2021 um 14:05 +0100 schrieb zimoun: > > --8<---------------cut here---------------start------------->8--- > > `(("libx11" ,libx11) > > ("libiberty" ,libiberty) ;needed for objdump > > ("zlib" ,zlib))) ;also needed for objdump = support > > --8<---------------cut here---------------end--------------->8--- > > > > Other said, this looks better: > > > > --8<---------------cut here---------------start------------->8--- > > (inputs > > (list libx11 > > libiberty ;needed for objdump support > > zlib)) ;also needed for objdump support > > --8<---------------cut here---------------end--------------->8--- [...] > For me personally, this illustrates two things. First, the weakness of > line comments over preceding line comments ad second the verbosity of > old input style. You could easily write > > (list libiberty zlib) ; for objdump What about 'libx11'? Otherwise, you end with cons (append for some cases) or something along these lines, (inputs (cons libx11 (list libiberty zlib))) ;for objdump I am not convinced it is better... > in the new style, which you couldn't before. Therefore, I wouldn't Yes, I could do it in the old style: `(("libx11" ,libx11) ("libiberty" ,libiberty) ("zlib" ,zlib))) ;for objdump support I have never read such thing. And I miss your point because from my understanding, it is not related to old style (list using labels) versus new style (just list). > mandate a "one line per input" restriction, as the only reason it was > ever imposed was a historical limitation. I miss your comment here. It is possible to write (inputs `(("foo" ,bar) ("baz" ,done))) and I have not done stats but I guess the rule for old style is: one item per line whatever the numbers, comments or length. Because, I guess again, readibility matters. :-) > > This would avoid =E2=80=9Ccosmetic=E2=80=9D changes when adding/removin= g inputs > > and/or comments. > > In my personal opinion, everything else being equal, changes to > inputs/native-inputs/propagated-inputs should (almost) always be seen > as changes to the field, as would be documented in the ChangeLog. > > I think the usual scheme coding guidelines also apply well to inputs, > e.g. inline short stuff, but don't do funky things when the lines grow > unnecessarily long. If that argument holds, then why is it not applied for old style? ;-) We do not read, --8<---------------cut here---------------start------------->8--- (native-inputs `(("pkg-config" ,pkg-config) ("python" ,python-wrapper))) --8<---------------cut here---------------end--------------->8--- for gnu/packages/video.scm (mediasdk) as example. Cheers, simon