Merge pull request #96091 from doronbehar/pkg/mailnag/fixes

mailnag: Fix pluginDeps usage & comment
This commit is contained in:
Doron Behar 2020-10-09 00:01:32 +03:00 committed by GitHub
commit 215bc37d00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@
# Available plugins (can be overriden)
, availablePlugins
# Used in the withPlugins interface at passthru, can be overrided directly, or
# prefarably via e.g: `mailnag.withPlugins(["goa"])`
# prefarably via e.g: `mailnag.withPlugins([mailnag.availablePlugins.goa])`
, mailnag
, userPlugins ? [ ]
, pluginsDeps ? [ ]
@ -72,7 +72,10 @@ python3Packages.buildPythonApplication rec {
pluginsDeps = lib.flatten (lib.catAttrs "buildInputs" plugs);
self = mailnag;
in
self.override { userPlugins = plugs; };
self.override {
userPlugins = plugs;
inherit pluginsDeps;
};
};
# See https://nixos.org/nixpkgs/manual/#ssec-gnome-common-issues-double-wrapped