From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QKe5DmPIHWSboAAASxT56A (envelope-from ) for ; Fri, 24 Mar 2023 16:57:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EAqWDmPIHWStNgAAauVa8A (envelope-from ) for ; Fri, 24 Mar 2023 16:57:23 +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 12459AFE5 for ; Fri, 24 Mar 2023 16:57:23 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hUscTQHM; 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"; 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=1679673443; 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=tIYkYIpVBkyqlBadKgXrPZPlfj7W04lFN6INk8kNZlc=; b=osBDqBcDSAcCK605ePSl7vYnNs8B5TZB6Sd1hz+IQFbnWpcD8ZxhCmGyrDzwNn6okoA3u9 QV8I9VBRfV1nqoqhpZk6ogtnzbSdQAxCGcVmoldSocwYUl8pFk1ZiD1rSo1I8QbCN1Kj00 BRfDCwVhHAD4SyDH+d8d6Wqr1FSZAARgXHSMqeYxXFIbs6bDVaAr87uJhF+5dWgV94AmSI Ik164tJ4OMZmAlm7EMAPCY6loQK55S6tn9dTcAP4xjIJuvXe7J6y3jqrigma23JMn02mNT MTId9uHaR0NGMYgZDo/VL+9tuU7Inj60FjYntWNX9nUkdYjABCVmnVGKAYtzxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679673443; a=rsa-sha256; cv=none; b=BBIrZjyEiWZ/3CT0Ozk+wvPxwHIEVlbNfXWk3o1ujhvG4OYmf4ZiAwqz0GoJcPkLbC9pRw ypRyX9VE4WOQpW2GOyDVD7Wtxv09MdgQ5rj65lahv/L4MGPnNPJ5wE5QwAYxSxGHMe+m9U p71UtUPcWU7AmC/19u1AO/KjO0aQl1Gynn5hOF7GNqRF0j+3XyFV5iJupc9G9HMGAQzuKL hE81x2IDurKs/6CgtxA7aWpxK7V9sz6z/WutDrz+Z52oxuWQAVl/wCU+yhi0+3ewIvPZPQ b0HF/QtP95XP7KdrggQfa4q5mVnbA8DgAtvVgxFtC5kSP8yTscFEIVaXUjTCTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hUscTQHM; 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"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfghK-0004lA-TO; Fri, 24 Mar 2023 08:39:10 -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 1pfghH-0004k5-EX for guix-devel@gnu.org; Fri, 24 Mar 2023 08:39:08 -0400 Received: from mail-oa1-f48.google.com ([209.85.160.48]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pfgh6-0000hC-My for guix-devel@gnu.org; Fri, 24 Mar 2023 08:39:07 -0400 Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-17e140619fdso1562647fac.11 for ; Fri, 24 Mar 2023 05:38:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679661526; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=tIYkYIpVBkyqlBadKgXrPZPlfj7W04lFN6INk8kNZlc=; b=hUscTQHMha49DjWGci0cVwCmcEmM31jWJjtBrvljC32seXEVd9/jwJnHEfacw2ZXjl p/IDXyOpAA+Siv9r02DuEc1TP1okpXvIqHfLpOB8t5bE1mEu8unzxsjxfPquvY29OyyU MJxlE1Qokor/em80VnER75jU2Wc19r5O94fJiufPsniDO5q8JRAImRyEV6h+3Mvt23Df nMT1IXLrV0sg86MY28NlkAlRhEhLGTnHDQayJDOb7Cymc9aS7ItpXZJkWK1N0ZhWskMS MAlZyvjrAlaf/hR1GC80SLTONTf5VMmn5p2MQgSCaw/NDAJ9yA8OfFboPe+2MLts4ukX ie4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679661526; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=tIYkYIpVBkyqlBadKgXrPZPlfj7W04lFN6INk8kNZlc=; b=KnXLZMooxpsK1WipT82+KIVICLsxxVqYXUgySlUs2ufe8MxiTnNhdx4g5bWD8mTgEt 8/Jhcs4g2gbV+ZrJpqcjbzUQPVk2OoqGLVAPTC6+9hqp9C1sdRqNwTWoG8+VVvgDBOJI biH7es7g7WCFmYKENaYLJKhgQRXh0MadiGUUKjA6t4BV7OiSJalHhnoEYD6OkOLVKx1T cQ5sXDi2IHA+0/5sJ10ZCcuizznwblJ5YUMl+YdIQEGwc9jsibLETvIZfEzanMrgZOfW mdnS1KD+GmaB91fqXllOvs4b3QGEbNSS1LbN78Pr+locvxvj6INK6VWagk02UgWMCbJE xXdA== X-Gm-Message-State: AAQBX9fRYWD2hEqesjVL0craeyHy0kmahivo5h3Ff3qVesnKZt/HglLD KdAu2cB7Caoo7nimntzyCqQlUOSp+6Jf0A== X-Google-Smtp-Source: AKy350ZpUI5lgmkxc+lLYbWFVbklXwgMij1lULsCe/McDGujxIqoFr+ezLEPUKaO+6i7m8Fc0EViTg== X-Received: by 2002:a67:eb0d:0:b0:425:9cb1:8db0 with SMTP id a13-20020a67eb0d000000b004259cb18db0mr742836vso.1.1679661154252; Fri, 24 Mar 2023 05:32:34 -0700 (PDT) Received: from hurd (dsl-155-54.b2b2c.ca. [66.158.155.54]) by smtp.gmail.com with ESMTPSA id s10-20020a05620a16aa00b0074341cb30d0sm14059429qkj.62.2023.03.24.05.32.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 05:32:33 -0700 (PDT) From: Maxim Cournoyer To: Ricardo Wurmus Cc: guix-devel@gnu.org Subject: Re: more package transformations: overrides References: <87y1nphzqy.fsf@elephly.net> <87bkkkhd4l.fsf@gmail.com> <87pm90ikou.fsf@elephly.net> <874jqcfa4o.fsf@gmail.com> <87cz4zijag.fsf@elephly.net> Date: Fri, 24 Mar 2023 08:32:32 -0400 In-Reply-To: <87cz4zijag.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 23 Mar 2023 10:32:38 +0100") Message-ID: <871qle1g9r.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=209.85.160.48; envelope-from=maxim.cournoyer@gmail.com; helo=mail-oa1-f48.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, RCVD_IN_MSPIKE_H2=-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: X-Migadu-Queue-Id: 12459AFE5 X-Spam-Score: -11.77 X-Migadu-Spam-Score: -11.77 X-Migadu-Scanner: scn0.migadu.com 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-Country: US X-Migadu-Flow: FLOW_IN X-TUID: 5HZglK2dmOo6 Hi Ricardo, Ricardo Wurmus writes: > Maxim Cournoyer writes: > >>> Considering that the transformations API assumes that you understand >>> that higher order functions exist and what to do with them, I think it >>> would be good to offer a slightly less advanced method of overriding >>> packages. >>> >>> Manifests can do anything, but this also makes them rather intimidating >>> for many of my colleagues. >> >> OK; then my question would be: why stop at transformations? Perhaps we >> could simply have a way to feed arbitrary guix command line arguments >> from a file, e.g. >> >> guix shell --args-file=3Dmy-arguments.txt > > The transformations command line options are rather verbose: > > --with-input=3Dpython-pytorch=3Dpython-pytorch-with-extra-features > > I think it would improve usability to be able to use the *same* names in > an override file. Got a package with name =E2=80=9Cpython-pytorch=E2=80= =9D in that > file? It replaces =E2=80=9Cpython-pytorch=E2=80=9D in the graph. It's still a bit too abstract in my mind. Could you please provide a skeletton of what the overrides file would look like? --=20 Thanks, Maxim