about summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2020-08-15 00:21:32 +0300
committerJon <jonringer@users.noreply.github.com>2020-08-15 10:17:06 -0700
commitddb962bec4da59d20762a34e235b5df57a77f660 (patch)
tree41c78c64692164db00e8ebc6e91260f2c61ec07d /pkgs/applications/networking/mailreaders
parent7ff82bfee69953546246fe6e8d41778fb0d0da01 (diff)
mailnag: Make it possible to override available plugins
Diffstat (limited to 'pkgs/applications/networking/mailreaders')
-rw-r--r--pkgs/applications/networking/mailreaders/mailnag/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/networking/mailreaders/mailnag/default.nix b/pkgs/applications/networking/mailreaders/mailnag/default.nix
index 4766939a42446..b44d90f1d760a 100644
--- a/pkgs/applications/networking/mailreaders/mailnag/default.nix
+++ b/pkgs/applications/networking/mailreaders/mailnag/default.nix
@@ -13,15 +13,13 @@
 , gsettings-desktop-schemas
 , glib
 , gobject-introspection
+# Available plugins (can be overriden)
+, availablePlugins
 # Plugins to install
 , plugins ? [ "goa" ]
 }:
 
 let
-  availablePlugins = {
-    # More are listed here: https://github.com/pulb/mailnag/#desktop-integration
-    goa = callPackage ./goa-plugin.nix { };
-  };
   # Get the list of plugins the user wants
   userPlugins = lib.attrVals plugins availablePlugins;
   # goa plugin requires gio's gnome-online-accounts which requires making sure