Hi, Eelco Dolstra <[email protected]> writes:
> On 01/26/2011 02:21 PM, Ludovic Courtès wrote: > >> The idea I had [0] was that ‘buildenv’ would check for a >> ‘nix-support/user-environment-hook’ script in each store path being used >> and run it. > > Yes, sounds reasonable. But the big question is what package should declare > the > hook. For instance, for the GTK icon cache problem, should the hook be > declared > by gtk+, or by every GTK-based package that has a share/icons directory? I’d say GTK+, as for setup-hook. > In the former case, this means that gtk+ has to be in the user > environment (or be propagated by some other package). Right. Or buildenv could collect the list of hooks in all the dependencies of the packages being installed, and run them once. Overkill? Thanks, Ludo’. _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
