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:
parent
6f4a18cc9e
commit
99b011dc30
@ -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
|
||||
|
Binary file not shown.
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user