Pidgin: Difference between revisions

From NixOS Wiki
imported>Castilma
mNo edit summary
imported>Castilma
mNo edit summary
Line 1: Line 1:
If you want to use pidgin with the otr plugin, you will find out, that installing the plugin with
If you want to use pidgin with the OTR plugin, you will find out, that installing the plugin with
<code>nix-env -iA nixos.pidginotr</code>
<code>nix-env -iA nixos.pidginotr</code>
does not work. The plugin doesn't appear in the plugin list.
does not work. The plugin doesn't appear in the plugin list.
Line 17: Line 17:


Then you can install pidgin with  
Then you can install pidgin with  
<code>nix-env -iA nixos.pidgin-with-plugins</code>. This install will then include pidginotr.
<code>nix-env -iA nixos.pidgin-with-plugins</code>. This install will have the OTR plugin available.




[[Category:Guide]]
[[Category:Guide]]

Revision as of 13:55, 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 have the OTR plugin available.