From eb122119a0fbd7f0c7b78dfcdfbc5d0cfada0c0f Mon Sep 17 00:00:00 2001 From: talyz Date: Tue, 6 Jul 2021 18:29:13 +0200 Subject: [PATCH] discourseAllPlugins: Provide a discourse derivation with all plugins --- pkgs/top-level/all-packages.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9c035ff6702d..83d023cc9e2e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2481,6 +2481,10 @@ in discourse = callPackage ../servers/web-apps/discourse { }; + discourseAllPlugins = discourse.override { + plugins = lib.filter (p: p ? pluginName) (builtins.attrValues discourse.plugins); + }; + discourse-mail-receiver = callPackage ../servers/web-apps/discourse/mail_receiver { }; discocss = callPackage ../tools/misc/discocss { };