also add bzip2 for unpacking those binaries
svn path=/nixpkgs/trunk/; revision=1551
This commit is contained in:
parent
39d35a11fd
commit
58bbec4a6e
5
pkgs/stdenv/nix-linux-static/bzip2-static/builder.sh
Normal file
5
pkgs/stdenv/nix-linux-static/bzip2-static/builder.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
. $stdenv/setup
|
||||||
|
|
||||||
|
tar zxvf $src
|
||||||
|
mkdir $out
|
||||||
|
cp -a bzip2-1.0.2/* $out
|
Binary file not shown.
7
pkgs/stdenv/nix-linux-static/bzip2-static/default.nix
Normal file
7
pkgs/stdenv/nix-linux-static/bzip2-static/default.nix
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{stdenv}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "bzip2-static-1.0.2";
|
||||||
|
builder = ./builder.sh;
|
||||||
|
src = ./bzip2-1.0.2-static.tar.gz;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user