Hi Hartmut, Hartmut Goebel <[email protected]> writes:
> Now when refreshing the package, these adjustments get > removed. Currently I'm working around this using a shell script, which > is not that nice. > > I would like to change refresh/import to > > 1) Add this global variable to native-inputs, removing all native > inputs defined in that global variable. > > 2) Remove the redundant propagated inputs. > > Of course, this should only happen when importing/refreshing a package > with prefix "trytond-". > > Questions: > > a) Where is the appropriate place to add this? > > b) How to actually add manipulate the inputs as described above? Any > example? There’s the ‘updater-extra-inputs’ and ‘updater-ignored-inputs’ package properties (info "(guix) Invoking guix refresh"). You could have a ‘%standard-tryton-package-properties’ global variables with these two keys and then use these properties in each package. Now, the easiest way would be to not factorize in puts in ‘%standard-trytond-native-inputs’ so ‘guix refresh’ can do its work. HTH! Ludo’.
