From 6f4cfe0570e1a72f4731a82ff0d98018150db962 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Thu, 7 Dec 2017 09:54:58 -0500 Subject: [PATCH] gawk: Enable cross-compilation --- pkgs/tools/text/gawk/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/text/gawk/default.nix b/pkgs/tools/text/gawk/default.nix index 65d0a1e4c00..6783158ca77 100644 --- a/pkgs/tools/text/gawk/default.nix +++ b/pkgs/tools/text/gawk/default.nix @@ -41,6 +41,8 @@ stdenv.mkDerivation rec { (if interactive then "--with-readline=${readline.dev}" else "--without-readline") ]; + makeFlags = "AR=${stdenv.cc.targetPrefix}ar"; + inherit doCheck; postInstall = ''