From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 2LNaLbXHK2b8MgEA62LTzQ:P1 (envelope-from ) for ; Fri, 26 Apr 2024 17:26:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 2LNaLbXHK2b8MgEA62LTzQ (envelope-from ) for ; Fri, 26 Apr 2024 17:26:45 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=dCqFob+S; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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=2; s=key1; d=yhetil.org; t=1714145205; a=rsa-sha256; cv=pass; b=JY4mnwupF9t/cbaeqCFa3dBOtL9FgFevLNGl04dOUN27+WN1A6Y5xm5IWCHXf29Qswacjb bhBwHBqtPE/AS7pNYLWqOp5LsmtjsQVzolL3pzx4R0kA0Xq/oxYzmLuFShdNqvL+DQvTTe 0r8IMnEuqqmtbUIoHel5CoysIqwFPygKdpJJpQvKREeTdwNITYEGrjSppnqul2ifBTAp24 20bYj4xXQtVEd14LPllZMPLGOfQLyt3Xq9Dj+mLBcTyFv0JAotRSZGgVyQtDE7r5kqKmas Uqbl4iEtHEfSUbxJBg1qfWPD7JfyPqHfapWFS3n63YhWfw16m7l2XOuvA67HnA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=dCqFob+S; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714145205; 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:dkim-signature; bh=9DxYrwL+sAbel42UwNEnwPWa7GA04AbKvYe/y2eU0OM=; b=LmogCAeplohJnubiYnVGcn09oh+VQWi5Twav6yemVybCajkkpXolubYT8tKJNWg+CSsB1m oqD6RV0t8kju3dkNU/ppWgyrafx/6pB8Kgep95g457e0BJ7e3oYVHxBF2Fw3BV/QYoLPX2 mhunMy1kpZBfk147AHi3GR2octoJlhl3a3NOhNXqYXcqbdYXqRSjuUso9+ngiRxSe2z08L fy7xs519oNqK05T3dHlpkx/BulxfBPd42nVNSs7Gt+j2T8CDSPCpnvsMD9k8BS7+BmZPQa OobCjt+G8nl5unQvr2jhZGrXclhHZlC+nU7dO7EyBlz38zW4zD2+KLU1IqN0qA== 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 6B0EC27BE4 for ; Fri, 26 Apr 2024 17:26:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0NSn-0006eM-RT; Fri, 26 Apr 2024 11:26:13 -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 1s0NSl-0006eB-Mp for guix-devel@gnu.org; Fri, 26 Apr 2024 11:26:11 -0400 Received: from sender3-of-o57.zoho.com ([136.143.184.57]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s0NSZ-0000jJ-Ot for guix-devel@gnu.org; Fri, 26 Apr 2024 11:26:03 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1714145155; cv=none; d=zohomail.com; s=zohoarc; b=S73GTnBj9kE9PFS8Cyv+gIkh8czO2UAY0hHPhdKzvMy09ofajCJJgM6rXvH9MtjBofiQdTHACYMOX3fe+PT/Qraia+YHjGUpAhZf1iG5idNVGsj5pdRMHcd4yigzrKLzSmj6MaI0BD6mrhDH8OFAWNe7Sh156WwwoRmBZKGIgjo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1714145155; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=9DxYrwL+sAbel42UwNEnwPWa7GA04AbKvYe/y2eU0OM=; b=cdx3k83VrKjvF81COE8WA/PRAyZ4yAi7waJ0QLIS6tBzIuCm8wcECpGwoiwXrA9tNK1cyWCadtzYw6HT8qcZrl/1D9PIeIVcT3TAgUSxyNyhTBT8v5I+qH3q3J1KtkO2R1BA4VOeW4YD69cbvpCGJIiNbQ4u7uAfGP/mYre9nW4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1714145155; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Cc:Cc:Subject:Subject:In-Reply-To:References:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=9DxYrwL+sAbel42UwNEnwPWa7GA04AbKvYe/y2eU0OM=; b=dCqFob+S9ryXJZcfK+kDcAWE5ytliMahHJ9kbR4+AZSJLLlFB09u8/ekAVUiOY25 Vt+qJUzdfgCdWptK0109WIJQCiNYl4E5/XPFoRm2u0f2S1+Y8rvNFIdunJnKxqJA5qr u3xqN6mpObwHKc8KyuLNJWbPWUIagPGvrWDVIzDc= Received: by mx.zohomail.com with SMTPS id 1714145152471451.9747882882464; Fri, 26 Apr 2024 08:25:52 -0700 (PDT) From: Ricardo Wurmus To: Nicolas Graves via "Development of GNU Guix and the GNU System distribution." Cc: Nicolas Graves Subject: Re: API for rewriting package fields ? In-Reply-To: <87r0es66g9.fsf@ngraves.fr> (Nicolas Graves via's message of "Fri, 26 Apr 2024 07:25:42 +0200") References: <87r0es66g9.fsf@ngraves.fr> User-Agent: mu4e 1.12.4; emacs 29.3 Date: Fri, 26 Apr 2024 17:25:47 +0200 Message-ID: <87edasno1w.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.184.57; envelope-from=rekado@elephly.net; helo=sender3-of-o57.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=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: , 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-Migadu-Queue-Id: 6B0EC27BE4 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.42 X-Spam-Score: -9.42 X-TUID: ziJXClJ55lbE Nicolas Graves via "Development of GNU Guix and the GNU System distribution." writes: > Is there an interface to rewrite / update a field from a series of > packages easily? We have "update-package-inputs" in (guix upstream), which defines a local procedure "update-field". Perhaps you can use that? What it cannot do yet is *create* a field, e.g. add a native-inputs field to add an input when the package currently doesn't have a native-inputs field. -- Ricardo