diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2023-02-07 11:27:11 +0100 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2023-02-07 11:36:17 +0100 |
commit | c7fbd40fd152506057d84e3e656dd564164168d2 (patch) | |
tree | cca9e90529c351611cf74accd087a03dcb847ce1 | |
parent | fab09085df1b60d6a0870c8a89ce26d5a4a708c2 (diff) |
groff: Add enableIconv and enableLibuchardet option
-rw-r--r-- | pkgs/tools/text/groff/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/text/groff/default.nix b/pkgs/tools/text/groff/default.nix index a38251557c09..9a6c5fcc5660 100644 --- a/pkgs/tools/text/groff/default.nix +++ b/pkgs/tools/text/groff/default.nix @@ -1,6 +1,8 @@ { lib, stdenv, fetchurl, fetchpatch, perl , enableGhostscript ? false, ghostscript # for postscript and html output , enableHtml ? false, psutils, netpbm # for html output +, enableIconv ? false, iconv +, enableLibuchardet ? false, libuchardet # for detecting input file encoding in preconv(1) , buildPackages , autoreconfHook , pkg-config @@ -54,7 +56,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook pkg-config texinfo ]; buildInputs = [ perl bash ] ++ lib.optionals enableGhostscript [ ghostscript ] - ++ lib.optionals enableHtml [ psutils netpbm ]; + ++ lib.optionals enableHtml [ psutils netpbm ] + ++ lib.optionals enableIconv [ iconv ] + ++ lib.optionals enableLibuchardet [ libuchardet ]; # Builds running without a chroot environment may detect the presence # of /usr/X11 in the host system, leading to an impure build of the |