Merge pull request #311788 from rhelmot/freebsd-minimal3/texinfo

texinfo: Fix build on native FreeBSD
This commit is contained in:
Sandro 2024-05-19 18:49:18 +02:00 committed by GitHub
commit f49aee6393
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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