From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2AD0AM/NbGTsHwEASxT56A (envelope-from ) for ; Tue, 23 May 2023 16:29:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qODQAM/NbGQgqwAAauVa8A (envelope-from ) for ; Tue, 23 May 2023 16:29:35 +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 6847C2EBC1 for ; Tue, 23 May 2023 16:29:34 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684852174; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=vbN50radTpwJ7mK7jtfMZzgRvnYJx1jYXHd02O1lpk0=; b=GzWYNYBNmOkc48OB4yKca75csM4G9UhnyyvhxuSjKXLMT+gDGEsClfbPYFLGbbw+QVn524 YfCSFjmS224Jcoesi1/euRLxqevgvElIwWZ6Wpzfp+42SMO6JZDneMUIHCBSHVXK2QSB/h /atbD3vHQCbPLE82rbgIg/n9VmvdgOhNrrtp6xF0K7CkXW9qGTrDou5qzDIbKtkhvlQ/ra Ma4MWJBcb8W5A5G6jzIY8+UZrsh2gNQ1rZrTlO75DbZjcagm8+sS0MdhEMqNE/eiSl1JgS OJYyxvKWJ2KPy7iomgTgRx1EhvTcrhUcc5KJTg9KlTuNH/nz+0qWZPu9cJerag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684852174; a=rsa-sha256; cv=none; b=TlW2qg0hJmDNTjG767hrV030teMc5qjfnLCHgasPwetS/UaF3WtsBXMIlhmfq8iXqhksAl BZt7+Am6JzNIcnsSaTWDa0gZ/xVIHlYo72DnnXM31NR0r9CQQkAyg04Kd/mn7DHLKRp9dK WGHg+h6lywd9kiaRRI+MHXkuuZA1MFz0KoGV4a00F5GQRSsn/SHTwPcmR1GzlcOGrrG688 Dv3hr1B1iCkXv+uubEE2f0yE7fNBGkCKF8HrAMpb9fS/f8VQfX+Uj3X4eLF2D5EQXNkFhA 1RCJaJlm8/wbN7pCOFj+F60ChPT2u3cxywfqlvhR/E3nGOe2fAh877uYrju0dw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1T0b-00048b-50; Tue, 23 May 2023 10:29:05 -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 1q1T0U-00048E-JH for guix-devel@gnu.org; Tue, 23 May 2023 10:28:58 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1T0S-0004EV-Od for guix-devel@gnu.org; Tue, 23 May 2023 10:28:58 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 137F91A5F; Tue, 23 May 2023 16:28:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rs7yxmouTF1I; Tue, 23 May 2023 16:28:52 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 673E05EA; Tue, 23 May 2023 16:28:52 +0200 (CEST) Date: Tue, 23 May 2023 16:28:50 +0200 From: Andreas Enge To: jgart Cc: Simon Tournier , guix-devel@gnu.org Subject: Re: Transformations Shell Syntax Message-ID: References: <86a5xvv12u.fsf@gmail.com> <95989e12b8be444d908a4401c1fb55d2@dismail.de> <412fbcf010594abbac4c653536022455@dismail.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <412fbcf010594abbac4c653536022455@dismail.de> Received-SPF: pass client-ip=185.233.100.1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-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: 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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: UNKNOWN X-Migadu-Spam-Score: -0.55 X-Spam-Score: -0.55 X-Migadu-Queue-Id: 6847C2EBC1 X-Migadu-Scanner: in3.migadu.com X-TUID: HSIe2UhW+7TE Am Tue, May 23, 2023 at 02:12:02PM +0000 schrieb jgart: > > I think your semantics ends up meaning "try to make sense of the version > > field, and give me the package at this version". > Aren't these the current semantics of guix package transformations though? I'm just proposing shell syntax for them. Yes, indeed. So there already is shell syntax, it is just a bit unweildy and verbose. What disturbs me with your suggestion is that it reuses the same syntax that is already used for a different purpose. So in a sense you do "operator overloading", and the same command line then means different things depending on whether the package version is already provided by Guix or not. Like Simon writes, let us be explicit. Andreas