From 78d9414ce534e570853fa3b7920c0906db9f169b Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Mon, 27 Feb 2017 00:04:29 +0200 Subject: findutils: Fix cross compilation Yes, setting crossAttrs.propagatedBuildInputs is the correct value to set to override a buildInputs from the native drv! --- pkgs/tools/misc/findutils/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/tools') diff --git a/pkgs/tools/misc/findutils/default.nix b/pkgs/tools/misc/findutils/default.nix index 8bedbeb12fef..f1090bcf457f 100644 --- a/pkgs/tools/misc/findutils/default.nix +++ b/pkgs/tools/misc/findutils/default.nix @@ -18,8 +18,8 @@ stdenv.mkDerivation rec { outputs = [ "out" "info" ]; crossAttrs = { - # http://osdir.com/ml/bug-findutils-gnu/2009-08/msg00026.html - configureFlags = [ "gl_cv_func_wcwidth_works=yes" ]; + # Fix the 'buildInputs = [ coreutils ]' above - that adds the cross coreutils to PATH :( + propagatedBuildInputs = [ ]; }; enableParallelBuilding = true; -- cgit 1.4.1