diff options
author | Yureka <yuka@yuka.dev> | 2023-09-16 02:08:00 +0200 |
---|---|---|
committer | Yureka <yuka@yuka.dev> | 2023-09-16 02:19:22 +0200 |
commit | 95e064234cbe63230c75707c810180751c3f521b (patch) | |
tree | 09c71e89a9b8d1add2903a8181c98fd1a78a6bcd /pkgs/development/tools/misc/texinfo/common.nix | |
parent | 48c5ac5ce0a143aeec468db6a27c25e4a9de52a3 (diff) |
texinfo: remove reference to buildPlatform awk
Diffstat (limited to 'pkgs/development/tools/misc/texinfo/common.nix')
-rw-r--r-- | pkgs/development/tools/misc/texinfo/common.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/tools/misc/texinfo/common.nix b/pkgs/development/tools/misc/texinfo/common.nix index 364f9b148d8c3..d8d63088ee7ea 100644 --- a/pkgs/development/tools/misc/texinfo/common.nix +++ b/pkgs/development/tools/misc/texinfo/common.nix @@ -1,7 +1,7 @@ { version, sha256, patches ? [] }: { lib, stdenv, buildPackages, fetchurl, perl, xz, libintl, bash -, gnulib +, gnulib, gawk # we are a dependency of gcc, this simplifies bootstraping , interactive ? false, ncurses, procps @@ -57,7 +57,8 @@ stdenv.mkDerivation { configureFlags = [ "PERL=${buildPackages.perl}/bin/perl" ] # Perl XS modules are difficult to cross-compile and texinfo has pure Perl # fallbacks. - ++ optional crossBuildTools "--enable-perl-xs=no" + # Also prevent the buildPlatform's awk being used in the texindex script + ++ optionals crossBuildTools [ "--enable-perl-xs=no" "TI_AWK=${gawk}/bin/awk" ] ++ lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk"; installFlags = [ "TEXMF=$(out)/texmf-dist" ]; |