Pidgin: Difference between revisions
imported>Castilma mNo edit summary |
imported>Castilma mNo edit summary |
||
Line 5: | Line 5: | ||
To use it, you need to make a [https://nixos.org/nixpkgs/manual/#sec-modify-via-packageOverrides packageOverride]. | To use it, you need to make a [https://nixos.org/nixpkgs/manual/#sec-modify-via-packageOverrides packageOverride]. | ||
Put this into <code>~/.config/nixpkgs/config.nix</code> | Put this into <code>~/.config/nixpkgs/config.nix</code>: | ||
<code> | <code> |
Revision as of 13:52, 22 October 2017
If you want to use pidgin with the otr plugin, you will find out, that installing the plugin with
nix-env -iA nixos.pidginotr
does not work. The plugin doesn't appear in the plugin list.
To use it, you need to make a packageOverride.
Put this into ~/.config/nixpkgs/config.nix
:
{
packageOverrides = pkgs: rec {
pidgin-with-plugins = pkgs.pidgin-with-plugins.override {
plugins = [ pkgs.pidginotr ];};
};
}
Then you can install pidgin with
nix-env -iA nixos.pidgin-with-plugins
. This install will then include pidginotr.