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)
|
# Available plugins (can be overriden)
|
||||||
, availablePlugins
|
, availablePlugins
|
||||||
# Used in the withPlugins interface at passthru, can be overrided directly, or
|
# 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
|
, mailnag
|
||||||
, userPlugins ? [ ]
|
, userPlugins ? [ ]
|
||||||
, pluginsDeps ? [ ]
|
, pluginsDeps ? [ ]
|
||||||
@ -72,7 +72,10 @@ python3Packages.buildPythonApplication rec {
|
|||||||
pluginsDeps = lib.flatten (lib.catAttrs "buildInputs" plugs);
|
pluginsDeps = lib.flatten (lib.catAttrs "buildInputs" plugs);
|
||||||
self = mailnag;
|
self = mailnag;
|
||||||
in
|
in
|
||||||
self.override { userPlugins = plugs; };
|
self.override {
|
||||||
|
userPlugins = plugs;
|
||||||
|
inherit pluginsDeps;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# See https://nixos.org/nixpkgs/manual/#ssec-gnome-common-issues-double-wrapped
|
# See https://nixos.org/nixpkgs/manual/#ssec-gnome-common-issues-double-wrapped
|
||||||
|
Loading…
Reference in New Issue
Block a user