tar, gzip, diffutils: Allow builds with newer versions of glibc.

This is a follow-up to 77fdc7bb35 ("GNU
Coreutils: Allow builds with newer versions of glibc.").
This commit is contained in:
Ludovic Courtès
2012-07-01 01:14:56 +02:00
parent 81baf55892
commit 9786a98261
3 changed files with 32 additions and 2 deletions
+11 -1
View File
@@ -1,6 +1,6 @@
{stdenv, fetchurl, coreutils ? null}:
stdenv.mkDerivation {
stdenv.mkDerivation ({
name = "diffutils-3.2";
src = fetchurl {
@@ -16,3 +16,13 @@ stdenv.mkDerivation {
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 ];
});
})