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" ];
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;