diff options
author | Armijn Hemel <armijn@gpl-violations.org> | 2005-12-27 10:39:20 +0000 |
---|---|---|
committer | Armijn Hemel <armijn@gpl-violations.org> | 2005-12-27 10:39:20 +0000 |
commit | 796636040a9e38e2a31dd8fe431dd6d1b3b8f988 (patch) | |
tree | a79db53aad1cac762afd9619066fe37cda914345 /pkgs/tools/text | |
parent | abcfd1bce55aeba03ca6844d6956618afe394460 (diff) |
static diffutils for initial stdenv
svn path=/nixpkgs/trunk/; revision=4445
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/diffutils-diet/builder.sh | 3 | ||||
-rw-r--r-- | pkgs/tools/text/diffutils-diet/default.nix | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/tools/text/diffutils-diet/builder.sh b/pkgs/tools/text/diffutils-diet/builder.sh new file mode 100644 index 0000000000000..6c508ed5614cf --- /dev/null +++ b/pkgs/tools/text/diffutils-diet/builder.sh @@ -0,0 +1,3 @@ +source $stdenv/setup +if test -n "$coreutils"; then PATH=$coreutils/bin:$PATH; fi +genericBuild \ No newline at end of file diff --git a/pkgs/tools/text/diffutils-diet/default.nix b/pkgs/tools/text/diffutils-diet/default.nix new file mode 100644 index 0000000000000..17c1cdaf41e0a --- /dev/null +++ b/pkgs/tools/text/diffutils-diet/default.nix @@ -0,0 +1,13 @@ +{stdenv, fetchurl, coreutils ? null, dietgcc}: + +stdenv.mkDerivation { + name = "diffutils-2.8.1"; + builder = ./builder.sh; + src = fetchurl { + url = http://nix.cs.uu.nl/dist/tarballs/diffutils-2.8.1.tar.gz; + md5 = "71f9c5ae19b60608f6c7f162da86a428"; + }; + /* If no explicit coreutils is given, use the one from stdenv. */ + inherit coreutils; + NIX_GCC=dietgcc; +} |