ikiwiki: Use python with pygments package

Pygments package is needed by docutils to support syntax
highlighting via the ".. code::" directive.

Without pygments, the rendered pages contain errors like this:

    Cannot analyze code. Pygments package not found.
main
Michal Sojka 3 years ago
parent 4007e03a20
commit e4f37d28ee
  1. 5
      pkgs/applications/misc/ikiwiki/default.nix

@ -23,7 +23,10 @@ stdenv.mkDerivation rec {
TimeDate gettext makeWrapper DBFile CGISession CGIFormBuilder LocaleGettext
RpcXML XMLSimple ImageMagick YAML YAMLLibYAML HTMLTree AuthenPassphrase
NetOpenIDConsumer LWPxParanoidAgent CryptSSLeay ])
++ lib.optionals docutilsSupport [python docutils]
++ lib.optionals docutilsSupport [
(python.withPackages (pp: with pp; [ pygments ]))
docutils
]
++ lib.optionals gitSupport [git]
++ lib.optionals monotoneSupport [monotone]
++ lib.optionals bazaarSupport [breezy]

Loading…
Cancel
Save