Pidgin: Difference between revisions

From NixOS Wiki
imported>Castilma
mNo edit summary
imported>Castilma
m use syntaxhighlight
Line 7: Line 7:
Put this into <code>~/.config/nixpkgs/config.nix</code>:
Put this into <code>~/.config/nixpkgs/config.nix</code>:


<code>
<syntaxhighlight lang=nix>
{
{
   packageOverrides = pkgs: rec {
   packageOverrides = pkgs: rec {
   pidgin-with-plugins  = pkgs.pidgin-with-plugins.override {
   pidgin-with-plugins  = pkgs.pidgin-with-plugins.override {
         plugins = [ pkgs.pidginotr ];};
         plugins = [ pkgs.pidginotr ];};
   };
   };
}
}
</code>
</syntaxhighlight>


Then you can install pidgin with  
Then you can install pidgin with  

Revision as of 13:59, 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.