From e389e24efc4687788fe2362646fff429c37db726 Mon Sep 17 00:00:00 2001 From: Christian Kampka Date: Sun, 6 Sep 2020 15:57:52 +0200 Subject: [PATCH] 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. --- pkgs/development/tools/misc/texinfo/common.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/misc/texinfo/common.nix b/pkgs/development/tools/misc/texinfo/common.nix index f0f4c269fae7..057e52615ac7 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" ]