From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gISlKBJV1WEaqwAAgWs5BA (envelope-from ) for ; Wed, 05 Jan 2022 09:21:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yEJbIRJV1WF1dgAAG6o9tA (envelope-from ) for ; Wed, 05 Jan 2022 09:21:38 +0100 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 4E32ED2ED for ; Wed, 5 Jan 2022 09:21:38 +0100 (CET) Received: from localhost ([::1]:57386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n51Y9-0007r6-29 for larch@yhetil.org; Wed, 05 Jan 2022 03:21:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n51Ta-0005iC-GB for guix-devel@gnu.org; Wed, 05 Jan 2022 03:16:54 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]:63044) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n51TU-0008I6-Ny for guix-devel@gnu.org; Wed, 05 Jan 2022 03:16:53 -0500 Date: Wed, 05 Jan 2022 08:16:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1641370605; bh=rYYyViBqbybFrspwKyAtrDzKCfK9szRzPPMsztNCzdQ=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc; b=gJCt7KSLw96vgPsUSJEuXiO078FP3n3Hrgax9t434ng8qpyyTMTtwwhHHIFFg4M14 GideKCKgT84p5e3eqeUhc+oQ8X4XZwwaDfJ4ofpHNx14J5xcbMS+yoQSgSk7qkn3Ub ZfirX1uEcujsbzJiYJVAhJlpZ3PiHJLhUvxtHJYzMhMa9TJ9MDROZVid+np4UrQFxe lXXpJRXUdA5zttOPbTZ6vVlZx4gX5iniO7EBLjPVUMgegWoeGmuIkjAb8Bgh17FIbQ XkVyszJiYKjf5DHmvtX8g7Q5Y5xnny4rrGiuIBJaVx1VsaoTXBQjwi8yXPi+l60cPp VzdMaNleHSJWg== To: Ricardo Wurmus From: Attila Lendvai Subject: Re: RFC: new syntax for inline patches Message-ID: In-Reply-To: <87ee5ne7z5.fsf@elephly.net> References: <87ee5ne7z5.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.136; envelope-from=attila@lendvai.name; helo=mail-40136.proton.ch 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_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.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Attila Lendvai Cc: guix-devel@gnu.org 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=1641370898; h=from:from:sender:sender:reply-to: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=rYYyViBqbybFrspwKyAtrDzKCfK9szRzPPMsztNCzdQ=; b=YVed/NI4sdtuhN8nrd0L2JEBUYKz4g9escmBu0coF734CFGk95CGw9EJQ2fjuTykO51jpY krdCIsD32imzd26luqzykACD2qX6AZVZlXstkDcUDycs6BVhA6aHP9RTZsq77MpCIoyC9N S/l62/H2Kvd4Y+d4hCvcWtr+IfCMvqRSBWZtPMSa6y5/L2/aHq9hWJC3UASD0b3TC8P/O0 O+gpCtXlznFtz1tOy8ZhyjXpS7F1u+kryKwmJ6OpAlKhetjYV8q9eJUEmykfalllRLHNLl PJ8tMVnVE7PWZ47OpJp5u18eKuhYBYVe/YEJDihSQlwnfq2DiL/1U9CfGCSLcQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641370898; a=rsa-sha256; cv=none; b=nfS5w/HeqjmUDrXF4gd2QCk8b3BUeK1WOngu43JDLHodPP0hYh1w6P03xYxGoK4qpaiZMR 4gpmUug3G+QSETB4eyFRbqZWdZv9ihf2rrQZr7NTMOJu8UlATnRuij6GlE60GskByDBnVY qA3ooeeVunxoEn/2FnG6SOVF6nVCMxclDpgsVu7Vn/+HC2Vu3UY8J4lBLu+V5zWvWVxCqO IuLIW8EVrKCWSkrvDN2PR3Ibrory0erxERfZSHiFhQb0V3FOe1j1LaBUSPh+X/hgTqm9xY da5gxtPhOSZ90Y7r5N743EW81iM07CLMPwcSXoOJawwXoa/rZsk4CvIiT7aV1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=gJCt7KSL; dmarc=none; 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: -8.60 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=gJCt7KSL; dmarc=none; 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: 4E32ED2ED X-Spam-Score: -8.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0HMFz4JeM2Jb i may be lacking the necessary bird's eye view here... but why not just use= good old copy-pasted diff for this? introducing extra complexity in the form of a new DSL has all kinds of cost= s that people usually ignore (*), and it's not clear to me how those costs = would pay off compared to just copy-pasting a small diff into the package d= eclaration. * lack of tooling; more opportunity for bugs; the ((line 10) (+ ...)) DSL i= s more fragile to upstream changes, etc) sure, diff would be more verbose and arguably less aesthetic, but it's much= easier on the brain of the coders, and is less fragile, too. and larger pa= tches could go through the current, convoluted local.mk way. - attila PGP:=C2=A05D5F 45C7 DFCD 0A39