add gnutar linked to dietlibc
svn path=/nixpkgs/trunk/; revision=3779
This commit is contained in:
parent
69b0f36458
commit
f99dacf885
@ -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;
|
||||
};
|
||||
|
12
pkgs/tools/archivers/gnutar-diet/default.nix
Normal file
12
pkgs/tools/archivers/gnutar-diet/default.nix
Normal 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";
|
||||
}
|
Loading…
Reference in New Issue
Block a user