openresty: wrap restydoc with groff

Fixes: #416400
This commit is contained in:
Martin Weinelt 2026-06-28 03:47:25 +02:00
commit b09918a07d
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -3,8 +3,10 @@
runCommand,
lib,
fetchurl,
groff,
perl,
libpq,
makeWrapper,
nixosTests,
withPostgres ? true,
curl,
@ -40,6 +42,7 @@ callPackage ../nginx/generic.nix args rec {
nativeBuildInputs = [
libpq.pg_config
makeWrapper
perl
];
@ -61,6 +64,9 @@ callPackage ../nginx/generic.nix args rec {
ln -s $out/nginx/bin/nginx $out/bin/nginx
ln -s $out/nginx/conf $out/conf
ln -s $out/nginx/html $out/html
wrapProgram $out/bin/restydoc \
--prefix PATH : ${groff}/bin
'';
passthru = {