Unverified Commit f31f3398 authored by Audrey Dutcher's avatar Audrey Dutcher Committed by Sandro Jäckel
Browse files

texinfo: Fix build on native FreeBSD

parent 0bdd49cb
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
{ 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