Merge pull request #96091 from doronbehar/pkg/mailnag/fixes
mailnag: Fix pluginDeps usage & comment
This commit is contained in:
commit
215bc37d00
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user