findutils: Fix cross compilation

Yes, setting crossAttrs.propagatedBuildInputs is the correct value to
set to override a buildInputs from the native drv!
This commit is contained in:
Tuomas Tynkkynen 2017-02-27 00:04:29 +02:00
parent 0dee2a1bcc
commit 78d9414ce5

View File

@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
outputs = [ "out" "info" ]; outputs = [ "out" "info" ];
crossAttrs = { crossAttrs = {
# http://osdir.com/ml/bug-findutils-gnu/2009-08/msg00026.html # Fix the 'buildInputs = [ coreutils ]' above - that adds the cross coreutils to PATH :(
configureFlags = [ "gl_cv_func_wcwidth_works=yes" ]; propagatedBuildInputs = [ ];
}; };
enableParallelBuilding = true; enableParallelBuilding = true;