pelzflorian (Florian Pelz) <pelzflor...@pelzflorian.de> writes:

> On 03/19/2017 01:14 PM, Julien Lepiller wrote:
>> I think install hooks are scripts run after each package installation,
>> that are provided by the package itself. We already have a similar
>> mechanism that takes place when building the user's profile. See
>> http://git.savannah.gnu.org/cgit/guix.git/tree/guix/profiles.scm.
>> For instance, we build a icon-theme.cache cache file for every icon
>> theme in the user's profile.
>> 
[…]
>> I think we should make sure that this file is never present in the
>> output of a package, and add a function to build it in profiles.scm.
>> 
>> Does it make any sense?
>> 
>
> Yes, exactly. These profile hooks look similar to what I meant.

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?

Please also email a summary to bug-g...@gnu.org so that we can keep
track of this.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net


Reply via email to