add statically linked curl binary for static nix environment for Linux

svn path=/nixpkgs/trunk/; revision=1547
This commit is contained in:
Armijn Hemel 2004-10-07 15:05:19 +00:00
parent d68128380b
commit 2a745820ed
3 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,5 @@
. $stdenv/setup
tar zxvf $src
mkdir $out
cp -a curl-7.12.0/* $out

View File

@ -0,0 +1,7 @@
{stdenv}:
stdenv.mkDerivation {
name = "curl-static-7.12.0";
builder = ./builder.sh;
src = ./curl-7.12.0-static.tar.gz;
}