add statically linked curl binary for static nix environment for Linux
svn path=/nixpkgs/trunk/; revision=1547
This commit is contained in:
parent
d68128380b
commit
2a745820ed
5
pkgs/stdenv/nix-linux-static/curl-static/builder.sh
Normal file
5
pkgs/stdenv/nix-linux-static/curl-static/builder.sh
Normal file
@ -0,0 +1,5 @@
|
||||
. $stdenv/setup
|
||||
|
||||
tar zxvf $src
|
||||
mkdir $out
|
||||
cp -a curl-7.12.0/* $out
|
Binary file not shown.
7
pkgs/stdenv/nix-linux-static/curl-static/default.nix
Normal file
7
pkgs/stdenv/nix-linux-static/curl-static/default.nix
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user