diff options
author | Christian Kampka <christian@kampka.net> | 2020-09-06 15:57:52 +0200 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2020-10-06 09:43:42 +0200 |
commit | e389e24efc4687788fe2362646fff429c37db726 (patch) | |
tree | de2a1b43b815ffff49e4ca2e6862adf00c438ae9 /pkgs/development/tools/misc/texinfo/common.nix | |
parent | 7902256cfd1aeec4867e9f3f2fe30b05f6c151b1 (diff) |
texinfo: Depend on gettext on Darwin
texinfo version 6.7 requires libintl.h which on Linux is provided by the libc. On Darwin, this lib is provided by gettext instead.
Diffstat (limited to 'pkgs/development/tools/misc/texinfo/common.nix')
-rw-r--r-- | pkgs/development/tools/misc/texinfo/common.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/tools/misc/texinfo/common.nix b/pkgs/development/tools/misc/texinfo/common.nix index f0f4c269fae7d..057e52615ac76 100644 --- a/pkgs/development/tools/misc/texinfo/common.nix +++ b/pkgs/development/tools/misc/texinfo/common.nix @@ -1,6 +1,6 @@ { version, sha256 }: -{ stdenv, buildPackages, fetchurl, perl, xz +{ stdenv, buildPackages, fetchurl, perl, xz, gettext # we are a dependency of gcc, this simplifies bootstraping , interactive ? false, ncurses, procps @@ -39,6 +39,7 @@ stdenv.mkDerivation { buildInputs = [ xz.bin ] ++ optionals stdenv.isSunOS [ libiconv gawk ] + ++ optionals stdenv.isDarwin [ gettext ] ++ optional interactive ncurses; configureFlags = [ "PERL=${buildPackages.perl}/bin/perl" ] |