From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 UEkANEPdK2aZsAAAe85BDQ:P1 (envelope-from ) for ; Fri, 26 Apr 2024 18:58:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UEkANEPdK2aZsAAAe85BDQ (envelope-from ) for ; Fri, 26 Apr 2024 18:58:43 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Gz8Eb2NI; 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=1714150723; a=rsa-sha256; cv=none; b=UlpK+Xh30x4hFHDOWNQZvDfJFG14H71+mPz+o4O8qVWyg4UrrNwKBW5Mx81xMILlDrwKU3 A6v3pYYjAM/deck4TuqJYkasnLbcN48p15wfwP6dpxa6LX4Gc/o/0ILIxh9oXt0veMcFia 2BbcY7L2MGXR7Wlh+K08MAcMo1t7JxkccC5Wv2RWURiIv1z0793FBcFE9QkBJhNcfgUUj0 w524QFylCxfuVsoCeYxpyslVQKmTlB/7jrpJ2T2+jCr9Z5UjfiK+VuEoZz+DVsaFbbflzp jqe3BTmRPnuciHZoBKZCMX16FU6b9dkkNBH/su/58cneWCpFtoSl8MFN2B2mKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Gz8Eb2NI; 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=1714150723; 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=pSslot480ljW5Q5x+7YAg+Tn6pVHmBbCNc2N9WVo8Wk=; b=V2C8z9JJ0ENF7WMIyBPQbxXCH3dHtTsZsuYm7Uh7DlrY2xQ9NQx5vfJnAiy0NOUAKLsORB O/x+LehTv7mMo2Yr4XkjLvjsvFO3NnUpV3o9qF+1skxWX/MpKxRSVQ99OFq2O9cwGQclOt zwtPaXbZeHbgVBMrzyRSBUpk6O0auT4zMDm27OvH0ynl+n3pnuyoAWuJvKVRSgkr+7bjmA OHhNoUplrzxhwbRhMiDrTFf+vs+fz27RLhbHp0baRgw3jH6fXD1BJxPTjJFQRoYkT9GXoP dphizR3pW+BBQWJuz4fY4X9XpgQrA7UFIbwIhi/7eqafcYM9ag8IEQmrWd8z+Q== 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 B33A061215 for ; Fri, 26 Apr 2024 18:58:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0OtM-00032a-CD; Fri, 26 Apr 2024 12:57:44 -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 1s0OtK-000328-Vk for guix-devel@gnu.org; Fri, 26 Apr 2024 12:57:43 -0400 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s0OtJ-0005WC-Fz for guix-devel@gnu.org; Fri, 26 Apr 2024 12:57:42 -0400 Received: by mail-qt1-x82a.google.com with SMTP id d75a77b69052e-434d0a63151so15052571cf.3 for ; Fri, 26 Apr 2024 09:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714150659; x=1714755459; darn=gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=pSslot480ljW5Q5x+7YAg+Tn6pVHmBbCNc2N9WVo8Wk=; b=Gz8Eb2NIQrYxlzARco9pi/HOlgUdtt6X1whSPU1dXuvTckWGGx+LeovrQHRSjmMkVK FYYNxtD75Zvo/VFHpzKX/QP26Bpw/zclmqKJYwK3tWXsocS4hoePx8n1zUZ0aLg0r8qn eNJW9n3qJb8CP144RNgv6s/b2PU7xiDOxaVFjG8WNdnEE3YQsVzLWk14kkcC0E0EOKOG nX337qDw+MTSZqVRNMx5wdcukNFxX/A8GaOBTxpRMrAMNwEnntfFPGE1rOwJJwNeLyLF J3lJ3PRqKCRemnp0xRbc4HzDGhFfUcVCVR10qNxqHMbp0O5eSxSl6jsur7HqhCSn3KRH bQxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714150659; x=1714755459; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pSslot480ljW5Q5x+7YAg+Tn6pVHmBbCNc2N9WVo8Wk=; b=saz9KHvvga0YSgFUtnx9fO9Q790rf+wxh4dOMYl7ydiPb6ZKhSIlsMi4trv+uHy+fu 0Zf7ned4e4WtvVqZzboxCg/IOKquW5LipH/FIfWBhS2n3OkakqNUTPBPYVpsmnn44gnE S3I9QFjxiuwEOSiwdKwGhq4mn1HcCa/g+m6tXMioesfYvTLcyLeilCO9Y3fO218gYvqA tGvBWE1oMTEkxIKORQUzgm0DsgtFh6Bb1jsyvb+epkq6xQW2MuNdATKAv2TRoob/O/Sj ZQpjianm7frYCvuJAeOvXck4Q2QQ82e8PimwINZDbNpz0cLRDUQIouQLI92qy7iEgThj WmgQ== X-Gm-Message-State: AOJu0YxdNTHVoBBCkVrV4cVJs6Zrs8IhTWONahTJ4ffVaM+wDYI87E+c FEwIFxmOD+xsiSE1PSdFMyWdcFdWnR/qUeW0B1JB49y8JyNX2Ir186mZg/0O X-Google-Smtp-Source: AGHT+IFJ+DK7AIiRUpOlryJPW4SbNg5/ECf/CKpYsdHNmYK9kM7JPLi90Oo2hnthgJa4NWMKGc9M9A== X-Received: by 2002:a05:6214:2582:b0:69b:1d83:d884 with SMTP id fq2-20020a056214258200b0069b1d83d884mr294035qvb.62.1714150659147; Fri, 26 Apr 2024 09:57:39 -0700 (PDT) Received: from localhost (ool-ad039216.dyn.optonline.net. [173.3.146.22]) by smtp.gmail.com with ESMTPSA id q2-20020a0c8cc2000000b006a04dacd0e5sm7014035qvb.86.2024.04.26.09.57.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 09:57:38 -0700 (PDT) Date: Fri, 26 Apr 2024 19:57:37 +0300 From: Efraim Flashner To: Ricardo Wurmus Cc: "Nicolas Graves via Development of GNU Guix and the GNU System distribution." , Nicolas Graves Subject: Re: API for rewriting package fields ? Message-ID: Mail-Followup-To: Ricardo Wurmus , "Nicolas Graves via Development of GNU Guix and the GNU System distribution." , Nicolas Graves References: <87r0es66g9.fsf@ngraves.fr> <87edasno1w.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Skr6pc30xSOTmf20" Content-Disposition: inline In-Reply-To: <87edasno1w.fsf@elephly.net> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2607:f8b0:4864:20::82a; envelope-from=efraim.flashner@gmail.com; helo=mail-qt1-x82a.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, 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: , 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: B33A061215 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -2.99 X-Spam-Score: -2.99 X-TUID: 0Y01CiyAqIK5 --Skr6pc30xSOTmf20 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 26, 2024 at 05:25:47PM +0200, Ricardo Wurmus wrote: > Nicolas Graves via "Development of GNU Guix and the GNU System distributi= on." writes: >=20 > > Is there an interface to rewrite / update a field from a series of > > packages easily? >=20 > We have "update-package-inputs" in (guix upstream), which defines a > local procedure "update-field". Perhaps you can use that? >=20 > 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. There's also the package property updater-extra-{native-,propagated-,}inputs to add a package even if it's not shown as required by the importer. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Skr6pc30xSOTmf20 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmYr3QEACgkQQarn3Mo9 g1ETPA/+L8CbedMgB/rcPMWXa5gJUgzWSu9Ewr6O1PLrBS+8sPS94eap2/lARjTL mOt3prp4EG4je9x6KRBEXC8+FO4yV3tLnAXw0bdX0gLuTO1KQk6YOPGXmYMWc52p 5nKCCAdUG6v9lJlZoW8lwNxq8SOylVW6D2Vpu6w5EISM7lDszEIVmBowz0d8vevV wkwfXFMSrw7iS0PfxAYYGU7CYJtDlxm1yHGE/SJg2QW6Z8/F21J+LnwdLKVb616p QV3Wgt7yOKgdcp2oPEXqqQgljgQwijRcUIv96TxwySlzzj8lvbMTpphHyixgsnkO 393IxOuQGEREKWzZ1xvSkJbhvZbujaT8xewB+UY4YmbreNB02imxonBzpFEDuMc6 NZN9OManjcGBvUMskWuTm+XjBgU2C+ozLd12KEdpG/I0HOSrSegjdd6EuanM8ymt aKOGC2N9yxFyw4YzI23p21A27gfRxqo8l/nLxjK5jnK088SaySlKyjZIVhtAJylG eTMtC7jI4GUkI0FvjG+bNXrjFrCBvEAIlKgFVRYCzOsKkY91pW+0TC8EP8ZNPCfl fLO1dOOUiUomdZqMVDNeQCbKCp4MMQSXriHsGmtn1E4oiSHxayve7x0RmobamnTy fRLKlBdtvFluM1s4aLJeh35uX2ukjhPCX4ZK4z/GQhk/san4Rfo= =sCmA -----END PGP SIGNATURE----- --Skr6pc30xSOTmf20--