summary refs log tree commit diff
path: root/pkgs/tools/misc/findutils
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2017-02-27 00:04:29 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2017-02-27 00:15:53 +0200
commit78d9414ce534e570853fa3b7920c0906db9f169b (patch)
tree32615e796defac1c088733de8a61d4181dad8146 /pkgs/tools/misc/findutils
parent0dee2a1bcc2fca103947f600cf07bf79ea2b9558 (diff)
downloadnixpkgs-78d9414ce534e570853fa3b7920c0906db9f169b.tar
nixpkgs-78d9414ce534e570853fa3b7920c0906db9f169b.tar.gz
nixpkgs-78d9414ce534e570853fa3b7920c0906db9f169b.tar.bz2
nixpkgs-78d9414ce534e570853fa3b7920c0906db9f169b.tar.lz
nixpkgs-78d9414ce534e570853fa3b7920c0906db9f169b.tar.xz
nixpkgs-78d9414ce534e570853fa3b7920c0906db9f169b.tar.zst
nixpkgs-78d9414ce534e570853fa3b7920c0906db9f169b.zip
findutils: Fix cross compilation
Yes, setting crossAttrs.propagatedBuildInputs is the correct value to
set to override a buildInputs from the native drv!
Diffstat (limited to 'pkgs/tools/misc/findutils')
-rw-r--r--pkgs/tools/misc/findutils/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/misc/findutils/default.nix b/pkgs/tools/misc/findutils/default.nix
index 8bedbeb12fe..f1090bcf457 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;