nixpkgs/pkgs/tools/archivers/gnutar-diet/default.nix
Armijn Hemel f99dacf885 add gnutar linked to dietlibc
svn path=/nixpkgs/trunk/; revision=3779
2005-09-05 12:26:16 +00:00

13 lines
293 B
Nix

{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";
}