tar, gzip, diffutils: Allow builds with newer versions of glibc.
This is a follow-up to 77fdc7bb3583606c86b2dd602b76a20a1bf6bc7c ("GNU Coreutils: Allow builds with newer versions of glibc.").
This commit is contained in:
parent
81baf55892
commit
9786a98261
@ -37,4 +37,14 @@ stdenv.mkDerivation (rec {
|
|||||||
# cannot be used as a login shell for now.
|
# cannot be used as a login shell for now.
|
||||||
// stdenv.lib.optionalAttrs (stdenv.system == "armv7l-linux") {
|
// stdenv.lib.optionalAttrs (stdenv.system == "armv7l-linux") {
|
||||||
FORCE_UNSAFE_CONFIGURE = 1;
|
FORCE_UNSAFE_CONFIGURE = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
|
||||||
|
{
|
||||||
|
crossAttrs =
|
||||||
|
# XXX: Temporary workaround to allow GNU/Hurd builds with newer libcs.
|
||||||
|
(stdenv.lib.optionalAttrs (stdenv.cross.config == "i586-pc-gnu") {
|
||||||
|
patches = [ ../../misc/coreutils/gets-undeclared.patch ];
|
||||||
|
});
|
||||||
})
|
})
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{stdenv, fetchurl}:
|
{stdenv, fetchurl}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (rec {
|
||||||
name = "gzip-1.4";
|
name = "gzip-1.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -31,3 +31,13 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
|
||||||
|
{
|
||||||
|
crossAttrs =
|
||||||
|
# XXX: Temporary workaround to allow GNU/Hurd builds with newer libcs.
|
||||||
|
(stdenv.lib.optionalAttrs (stdenv.cross.config == "i586-pc-gnu") {
|
||||||
|
patches = [ ../../misc/coreutils/gets-undeclared.patch ];
|
||||||
|
});
|
||||||
|
})
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{stdenv, fetchurl, coreutils ? null}:
|
{stdenv, fetchurl, coreutils ? null}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation ({
|
||||||
name = "diffutils-3.2";
|
name = "diffutils-3.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -16,3 +16,13 @@ stdenv.mkDerivation {
|
|||||||
description = "Commands for showing the differences between files (diff, cmp, etc.)";
|
description = "Commands for showing the differences between files (diff, cmp, etc.)";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
|
||||||
|
{
|
||||||
|
crossAttrs =
|
||||||
|
# XXX: Temporary workaround to allow GNU/Hurd builds with newer libcs.
|
||||||
|
(stdenv.lib.optionalAttrs (stdenv.cross.config == "i586-pc-gnu") {
|
||||||
|
patches = [ ../../misc/coreutils/gets-undeclared.patch ];
|
||||||
|
});
|
||||||
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user