Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

texinfo: Fix build on native FreeBSD

authored by Audrey Dutcher and committed by Sandro Jäckel f31f3398 0bdd49cb

+3 -2
+3 -2
pkgs/development/tools/misc/texinfo/common.nix
··· 1 1 { version, sha256, patches ? [] }: 2 2 3 3 { lib, stdenv, buildPackages, fetchurl, perl, xz, libintl, bash 4 - , gnulib, gawk, libiconv 4 + , gnulib, gawk, freebsd, libiconv 5 5 6 6 # we are a dependency of gcc, this simplifies bootstraping 7 7 , interactive ? false, ncurses, procps ··· 63 63 installFlags = [ "TEXMF=$(out)/texmf-dist" ]; 64 64 installTargets = [ "install" "install-tex" ]; 65 65 66 - nativeCheckInputs = [ procps ]; 66 + nativeCheckInputs = [ procps ] 67 + ++ optionals stdenv.buildPlatform.isFreeBSD [ freebsd.locale ]; 67 68 68 69 doCheck = interactive 69 70 && !stdenv.isDarwin