guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Install hook


From: Ricardo Wurmus
Subject: Re: Install hook
Date: Tue, 21 Mar 2017 09:11:19 +0100
User-agent: mu4e 0.9.18; emacs 25.1.1

pelzflorian (Florian Pelz) <address@hidden> 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 address@hidden 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

[Prev in Thread] Current Thread [Next in Thread]