Making a bunch of basic programs cross-buildable.

After this, the 'bootstrap-tools' can be cross-built.


svn path=/nixpkgs/branches/stdenv-updates/; revision=20945
This commit is contained in:
Lluís Batlle i Rossell
2010-04-04 18:10:42 +00:00
parent 2d261d1c1e
commit 19b9811012
9 changed files with 63 additions and 8 deletions
+6 -1
View File
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "0f61phan4q8w5i1lz768q973c1spfqgvc470jc89rpg0gxfvi9bp";
};
buildInputs = [coreutils];
buildNativeInputs = [coreutils];
patches = [ ./findutils-path.patch ./change_echo_path.patch ]
# Note: the dietlibc patch is just to get findutils to compile.
@@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
doCheck = true;
crossAttrs = {
# http://osdir.com/ml/bug-findutils-gnu/2009-08/msg00026.html
configureFlags = [ "gl_cv_func_wcwidth_works=yes" ];
};
meta = {
homepage = http://www.gnu.org/software/findutils/;
description = "GNU Find Utilities, the basic directory searching utilities of the GNU operating system";