openresty: 1.7.4.1rc1 -> 1.7.4.1rc2
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
49a5832805
commit
9f15333589
|
@ -7,11 +7,11 @@ with stdenv.lib;
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "openresty-${version}";
|
||||
version = "1.7.4.1rc1";
|
||||
version = "1.7.4.1rc2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://openresty.org/download/ngx_openresty-${version}.tar.gz";
|
||||
sha256 = "1j976kmbdv07j3n7bwkpdrjs8hlm13mzzdmfbsfwyxpnk034v0j1";
|
||||
sha256 = "1208snm0g1x2p9ybl8br7mmcl5c4g4xzhm80n5jfjprr85gb7ajx";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl zlib pcre libxml2 libxslt gd geoip perl ];
|
||||
|
@ -41,8 +41,12 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postInstall = ''
|
||||
mv $out/nginx/sbin $out/bin
|
||||
ln -s $out/bin/nginx $out/bin/openresty
|
||||
mv $out/bin/sbin $out/sbin
|
||||
|
||||
mv $out/luajit/bin/luajit-2.1.0-alpha $out/bin/luajit-openresty
|
||||
ln -s $out/sbin/nginx $out/sbin/openresty
|
||||
ln -s $out/sbin/nginx $out/bin/openresty
|
||||
ln -s $out/sbin/nginx $out/bin/nginx
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
|
|
Loading…
Reference in New Issue