mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
openresty: wrap restydoc with groff
Fixes: #416400
(cherry picked from commit b09918a07d)
This commit is contained in:
parent
4f30adc913
commit
5486961d07
1 changed files with 6 additions and 0 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue