On Tue, 2017-03-21 at 11:06 +0100, pelzflorian (Florian Pelz) wrote: > On 03/21/2017 09:11 AM, Ricardo Wurmus wrote: > > > > Would you like to give it a try to add a profile hook for building > > “gschemas.compiled” once for all packages in a given profile? > > > > I’ll take a closer look at the code and try it. Since packages are > shipped as part of Guix anyway, one profile hook in Guix maybe is not > worse than allowing hooks to be added to e.g. the glib package in this case. > > > Please also email a summary to bug-g...@gnu.org so that we can keep > > track of this. > > > > Will do. >
Sorry. I’m feeling a little stupid. GSettings checks each entry in XDG_DATA_DIRS for a gschemas.compiled file, so compiling the settings for each package individually does work. The issue with the app I was trying to run was elsewhere. Now, all GSettings could still be compiled in a profile hook to a single gschemas.compiled file to eliminate the annoying warning message about “arbitrarily choosing” one of them. I have seen an mlet for the first time today, so I’m not going to fix this. I’m also not sure if this is really better than what (guix build glib-or-gtk-build-system) does. I’m also not going to file a bug since I’m not sure if we even want to change the current method.