From b09918a07d4587bb36a8e097066b2813120494e7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 28 Jun 2026 03:47:25 +0200 Subject: [PATCH] openresty: wrap restydoc with groff Fixes: #416400 --- pkgs/servers/http/openresty/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/servers/http/openresty/default.nix b/pkgs/servers/http/openresty/default.nix index a6dac861edca..27f0bd52ee89 100644 --- a/pkgs/servers/http/openresty/default.nix +++ b/pkgs/servers/http/openresty/default.nix @@ -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 = {