weechat: re-enable docs

The doc build was failing because of an unpatched `/usr/bin/env` shebang
in the `pygments.rb` gem, and weechat uses asciidoctor with the pygments
highlighter. Adding `python3` to `pygments.rb`'s `buildInputs` fixes it.
This commit is contained in:
Naïm Favier 2022-10-09 17:24:53 +02:00
parent aabca3ed54
commit d26276e725
No known key found for this signature in database
GPG key ID: 95AFCE8211908325
2 changed files with 5 additions and 1 deletions

View file

@ -50,7 +50,7 @@ let
cmakeFlags = with lib; [
"-DENABLE_MAN=ON"
"-DENABLE_DOC=OFF" # TODO(@ncfavier): Documentation fails to build, was deactivated to push through security update
"-DENABLE_DOC=ON"
"-DENABLE_TESTS=${if enableTests then "ON" else "OFF"}"
]
++ optionals stdenv.isDarwin ["-DICONV_LIBRARY=${libiconv}/lib/libiconv.dylib"]

View file

@ -545,6 +545,10 @@ in
buildInputs = [ openssl ];
};
"pygments.rb" = attrs: {
buildInputs = [ python3 ];
};
rack = attrs: {
meta.mainProgram = "rackup";
};