[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: API for rewriting package fields ?
From: |
Ricardo Wurmus |
Subject: |
Re: API for rewriting package fields ? |
Date: |
Fri, 26 Apr 2024 17:25:47 +0200 |
User-agent: |
mu4e 1.12.4; emacs 29.3 |
Nicolas Graves via "Development of GNU Guix and the GNU System distribution."
<guix-devel@gnu.org> 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