diff options
-rw-r--r-- | pkgs/servers/roundcube/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/servers/roundcube/default.nix b/pkgs/servers/roundcube/default.nix index c0648f5183d9f..cda5ae1d6c55e 100644 --- a/pkgs/servers/roundcube/default.nix +++ b/pkgs/servers/roundcube/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchzip }: +{ lib, stdenv, fetchzip, buildEnv, roundcube, roundcubePlugins }: let version = "1.3.8"; in @@ -13,6 +13,11 @@ fetchzip rec { rm -rf $out/installer ''; + passthru.withPlugins = f: buildEnv { + name = "${roundcube.name}-with-plugins"; + paths = (f roundcubePlugins) ++ [ roundcube ]; + }; + meta = { description = "Open Source Webmail Software"; maintainers = with stdenv.lib.maintainers; [ vskilet ]; @@ -20,4 +25,3 @@ fetchzip rec { platforms = stdenv.lib.platforms.all; }; } - |