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:
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, linuxHeaders, cross ? null, gccCross ? null}:
|
||||
{stdenv, fetchurl, linuxHeaders, libiconv, cross ? null, gccCross ? null}:
|
||||
|
||||
assert stdenv.isLinux;
|
||||
assert cross != null -> gccCross != null;
|
||||
@@ -58,6 +58,11 @@ stdenv.mkDerivation {
|
||||
(cd $out/include && ln -s $(ls -d ${linuxHeaders}/include/* | grep -v "scsi$") .)
|
||||
sed -i s@/lib/@$out/lib/@g $out/lib/libc.so
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
# Derivations may check for the existance of this attribute, to know what to link to.
|
||||
inherit libiconv;
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://www.uclibc.org/;
|
||||
|
||||
Reference in New Issue
Block a user