about summary refs log tree commit diff
path: root/pkgs/development/ruby-modules
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2022-10-09 17:24:53 +0200
committerNaïm Favier <n@monade.li>2022-10-11 11:09:52 +0200
commitd26276e72563786fed06206897f05bf8ff088767 (patch)
treedf748603aca311672090c72842a3303d23fe81b4 /pkgs/development/ruby-modules
parentaabca3ed54b53b5b797032801983dafeed0f5ebb (diff)
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.
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r--pkgs/development/ruby-modules/gem-config/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix
index 12c24cd99a923..04602329ba617 100644
--- a/pkgs/development/ruby-modules/gem-config/default.nix
+++ b/pkgs/development/ruby-modules/gem-config/default.nix
@@ -545,6 +545,10 @@ in
     buildInputs = [ openssl ];
   };
 
+  "pygments.rb" = attrs: {
+    buildInputs = [ python3 ];
+  };
+
   rack = attrs: {
     meta.mainProgram = "rackup";
   };