Trying to get coreutils cross-built with uclibc.

This involved fixing some buildInputs/buildNativeInputs in acl/attr,
and adding a libiconv in some places.


svn path=/nixpkgs/branches/stdenv-updates/; revision=20510
This commit is contained in:
Lluís Batlle i Rossell
2010-03-09 18:05:38 +00:00
parent 70b2dd393c
commit 6f9a783232
6 changed files with 25 additions and 5 deletions
+9 -1
View File
@@ -8,7 +8,15 @@ stdenv.mkDerivation rec {
sha256 = "0zq11lykc7hfs9nsdnb8gqk354l82hswqj38607mvwj3b0zqvc4b";
};
buildInputs = [ perl gmp ] ++ stdenv.lib.optional aclSupport acl;
buildNativeInputs = [ perl ];
buildInputs = [ gmp ] ++ stdenv.lib.optional aclSupport acl;
crossAttrs = {
buildInputs = [ gmp ]
++ stdenv.lib.optional aclSupport acl.hostDrv
++ stdenv.lib.optional (stdenv.gccCross.libc ? libiconv)
stdenv.gccCross.libc.libiconv.hostDrv;
};
# The tests are known broken on Cygwin
# (http://thread.gmane.org/gmane.comp.gnu.core-utils.bugs/19025),