add gnutar linked to dietlibc

svn path=/nixpkgs/trunk/; revision=3779
This commit is contained in:
Armijn Hemel 2005-09-05 12:26:16 +00:00
parent 69b0f36458
commit f99dacf885
2 changed files with 16 additions and 0 deletions

View File

@ -132,6 +132,10 @@ rec {
inherit fetchurl stdenv;
};
gnutarDiet = (import ../tools/archivers/gnutar-diet) {
inherit fetchurl stdenv dietgcc;
};
zip = (import ../tools/archivers/zip) {
inherit fetchurl stdenv;
};

View File

@ -0,0 +1,12 @@
{stdenv, fetchurl, dietgcc}:
stdenv.mkDerivation {
name = "gnutar-1.15.1";
src = fetchurl {
url = http://ftp.gnu.org/gnu/tar/tar-1.15.1.tar.bz2;
md5 = "57da3c38f8e06589699548a34d5a5d07";
};
NIX_GCC = dietgcc;
NIX_GLIBC_FLAGS_SET=1;
NIX_CFLAGS_COMPILE="-D_BSD_SOURCE=1";
}