texinfo: Fix build on native FreeBSD

This commit is contained in:
Audrey Dutcher 2024-05-14 13:18:26 -07:00 committed by Sandro Jäckel
parent 0bdd49cb10
commit f31f33987b
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,7 +1,7 @@
{ version, sha256, patches ? [] }:
{ lib, stdenv, buildPackages, fetchurl, perl, xz, libintl, bash
, gnulib, gawk, libiconv
, gnulib, gawk, freebsd, libiconv
# we are a dependency of gcc, this simplifies bootstraping
, interactive ? false, ncurses, procps
@ -63,7 +63,8 @@ stdenv.mkDerivation {
installFlags = [ "TEXMF=$(out)/texmf-dist" ];
installTargets = [ "install" "install-tex" ];
nativeCheckInputs = [ procps ];
nativeCheckInputs = [ procps ]
++ optionals stdenv.buildPlatform.isFreeBSD [ freebsd.locale ];
doCheck = interactive
&& !stdenv.isDarwin