diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-07-16 00:05:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-16 00:05:27 +0000 |
commit | 049494e76e1be4c9a686bb0b0a5c73b15d1aa54c (patch) | |
tree | f4b1fd65661e8747943c427c5599e04948bb2431 /nixos/modules/services/web-apps/discourse.nix | |
parent | 65fcd698bb723cc287f7ffd674fbe4ad816be974 (diff) | |
parent | 53079ed913181b2f945cf1580746828b57d47edb (diff) | |
download | nixpkgs-049494e76e1be4c9a686bb0b0a5c73b15d1aa54c.tar nixpkgs-049494e76e1be4c9a686bb0b0a5c73b15d1aa54c.tar.gz nixpkgs-049494e76e1be4c9a686bb0b0a5c73b15d1aa54c.tar.bz2 nixpkgs-049494e76e1be4c9a686bb0b0a5c73b15d1aa54c.tar.lz nixpkgs-049494e76e1be4c9a686bb0b0a5c73b15d1aa54c.tar.xz nixpkgs-049494e76e1be4c9a686bb0b0a5c73b15d1aa54c.tar.zst nixpkgs-049494e76e1be4c9a686bb0b0a5c73b15d1aa54c.zip |
Merge master into haskell-updates
Diffstat (limited to 'nixos/modules/services/web-apps/discourse.nix')
-rw-r--r-- | nixos/modules/services/web-apps/discourse.nix | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/nixos/modules/services/web-apps/discourse.nix b/nixos/modules/services/web-apps/discourse.nix index d3ae072f86a..8d5302ba267 100644 --- a/nixos/modules/services/web-apps/discourse.nix +++ b/nixos/modules/services/web-apps/discourse.nix @@ -475,21 +475,16 @@ in plugins = lib.mkOption { type = lib.types.listOf lib.types.package; default = []; - example = '' - [ - (pkgs.fetchFromGitHub { - owner = "discourse"; - repo = "discourse-spoiler-alert"; - rev = "e200cfa571d252cab63f3d30d619b370986e4cee"; - sha256 = "0ya69ix5g77wz4c9x9gmng6l25ghb5xxlx3icr6jam16q14dzc33"; - }) + example = lib.literalExample '' + with config.services.discourse.package.plugins; [ + discourse-canned-replies + discourse-github ]; ''; description = '' - <productname>Discourse</productname> plugins to install as a - list of derivations. As long as a plugin supports the - standard install method, packaging it should only require - fetching its source with an appropriate fetcher. + Plugins to install as part of + <productname>Discourse</productname>, expressed as a list of + derivations. ''; }; |