mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
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.
This commit is contained in:
parent
4007e03a20
commit
e4f37d28ee
@ -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…
Reference in New Issue
Block a user