don't make bzip2 an initial package, but download it instead. After all, we've got gzip :)

svn path=/nixpkgs/trunk/; revision=1583
This commit is contained in:
Armijn Hemel 2004-10-19 15:10:38 +00:00
parent 6f4a18cc9e
commit 99b011dc30
3 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,8 @@
. $stdenv/setup
tar zxvf $src
PATH=$gzip:$PATH
$curl/bin/curl $src > $tarball
$tar/bin/tar zxvf $tarball
mkdir $out
cp -a bzip2-1.0.2/* $out

View File

@ -1,7 +1,9 @@
{stdenv}:
{stdenv, gnutar, gzip, curl}:
stdenv.mkDerivation {
inherit gnutar gzip curl;
name = "bzip2-static-1.0.2";
builder = ./builder.sh;
src = ./bzip2-1.0.2-static.tar.gz;
src = http://losser.st-lab.cs.uu.nl/~armijn/.nix/bzip2-1.0.2-static.tar.gz;
tarball = bzip2-1.0.2-static.tar.gz;
}