From dc8bd43249e0bb13f5d5db8af4337fd716db25da Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Sun, 15 Oct 2017 16:51:01 -0400 Subject: readline: Don't attempt to check for broken wcwidth The test requires running code on the target. --- pkgs/development/libraries/readline/6.3.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkgs/development/libraries/readline') diff --git a/pkgs/development/libraries/readline/6.3.nix b/pkgs/development/libraries/readline/6.3.nix index 1183f46b8db..75c25e12d66 100644 --- a/pkgs/development/libraries/readline/6.3.nix +++ b/pkgs/development/libraries/readline/6.3.nix @@ -16,6 +16,12 @@ stdenv.mkDerivation rec { patchFlags = "-p0"; + configureFlags = + stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) + [ # This test requires running host code + "bash_cv_wcwidth_broken=no" + ]; + patches = [ ./link-against-ncurses.patch ./no-arch_only-6.3.patch -- cgit 1.4.1