diff options
author | Doron Behar <doron.behar@gmail.com> | 2020-08-15 00:21:32 +0300 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-08-15 10:17:06 -0700 |
commit | ddb962bec4da59d20762a34e235b5df57a77f660 (patch) | |
tree | 41c78c64692164db00e8ebc6e91260f2c61ec07d /pkgs/applications/networking/mailreaders | |
parent | 7ff82bfee69953546246fe6e8d41778fb0d0da01 (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.nix | 6 |
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 |