On 06/09/2017 02:17 AM, Bryan Richter wrote:
> I see that nixpkgs patches libpurple (pidgin) to look for plugins
> in paths specified by PURPLE_PLUGIN_PATH. Do I have to set that var
> manually?
> 
> I would hope that installing a plugin into my environment would update
> the variable automatically.

You want pidgin.override { plugins = [ ..... ]; }

> Are there other cases in the nixpkgs universe that match this pattern? [...]

Yes, plugin-style packaging is more complicated with nix.  Normally
packages assume there's one directory which collects all plugins of a
particular type, but we typically don't want that, so other ways are used.

--Vladimir

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to