diff options
author | Carlos D'Agostino <m@cdagostino.io> | 2018-08-02 23:35:29 +1000 |
---|---|---|
committer | Carlos D'Agostino <m@cdagostino.io> | 2018-08-02 23:35:29 +1000 |
commit | a568eec08cf85246f56528ff242e00678c51a3aa (patch) | |
tree | 2710fbd2395cb16e5f4987d22132241be5eaa6a5 /pkgs/tools/networking/tinyproxy | |
parent | c431713f999f28c4a97f78a6655394fd24c3f532 (diff) | |
download | nixlib-a568eec08cf85246f56528ff242e00678c51a3aa.tar nixlib-a568eec08cf85246f56528ff242e00678c51a3aa.tar.gz nixlib-a568eec08cf85246f56528ff242e00678c51a3aa.tar.bz2 nixlib-a568eec08cf85246f56528ff242e00678c51a3aa.tar.lz nixlib-a568eec08cf85246f56528ff242e00678c51a3aa.tar.xz nixlib-a568eec08cf85246f56528ff242e00678c51a3aa.tar.zst nixlib-a568eec08cf85246f56528ff242e00678c51a3aa.zip |
tinyproxy: add docbook_xsl and add nonet option to a2x
Diffstat (limited to 'pkgs/tools/networking/tinyproxy')
-rw-r--r-- | pkgs/tools/networking/tinyproxy/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/tools/networking/tinyproxy/default.nix b/pkgs/tools/networking/tinyproxy/default.nix index b4a2db8a9706..8ecc85544354 100644 --- a/pkgs/tools/networking/tinyproxy/default.nix +++ b/pkgs/tools/networking/tinyproxy/default.nix @@ -1,4 +1,5 @@ -{ stdenv, fetchFromGitHub, automake, autoreconfHook, asciidoc, libxml2, libxslt }: +{ stdenv, fetchFromGitHub, automake, autoreconfHook, asciidoc, libxml2, + libxslt, docbook_xsl }: stdenv.mkDerivation rec{ name = "tinyproxy-${version}"; @@ -11,7 +12,7 @@ stdenv.mkDerivation rec{ owner = "tinyproxy"; }; - nativeBuildInputs = [ autoreconfHook asciidoc libxml2 libxslt ]; + nativeBuildInputs = [ autoreconfHook asciidoc libxml2 libxslt docbook_xsl ]; # -z flag is not supported in darwin preAutoreconf = stdenv.lib.optionalString stdenv.isDarwin '' @@ -24,11 +25,13 @@ stdenv.mkDerivation rec{ postConfigure = '' substituteInPlace docs/man5/Makefile --replace \ "-f manpage" \ - "-f manpage \\ + "--xsltproc-opts=--nonet \\ + -f manpage \\ -L" substituteInPlace docs/man8/Makefile --replace \ "-f manpage" \ - "-f manpage \\ + "--xsltproc-opts=--nonet \\ + -f manpage \\ -L" ''; |