about summary refs log tree commit diff
path: root/pkgs/servers/http/openresty
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2015-04-12 11:16:16 -0500
committerAustin Seipp <aseipp@pobox.com>2015-04-12 11:35:37 -0500
commit2c4a005549617d0a6be3783fd470a506f9360884 (patch)
tree0a8b749fea89f22aff8df7e5259bfc89e0f1dd83 /pkgs/servers/http/openresty
parentc4b685aa81f9b3cf3ee5377bee63253c594d2339 (diff)
downloadnixlib-2c4a005549617d0a6be3783fd470a506f9360884.tar
nixlib-2c4a005549617d0a6be3783fd470a506f9360884.tar.gz
nixlib-2c4a005549617d0a6be3783fd470a506f9360884.tar.bz2
nixlib-2c4a005549617d0a6be3783fd470a506f9360884.tar.lz
nixlib-2c4a005549617d0a6be3783fd470a506f9360884.tar.xz
nixlib-2c4a005549617d0a6be3783fd470a506f9360884.tar.zst
nixlib-2c4a005549617d0a6be3783fd470a506f9360884.zip
nixpkgs: openresty 1.7.7.1 -> 1.7.10.1
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/servers/http/openresty')
-rw-r--r--pkgs/servers/http/openresty/default.nix12
1 files changed, 4 insertions, 8 deletions
diff --git a/pkgs/servers/http/openresty/default.nix b/pkgs/servers/http/openresty/default.nix
index 65c81c455b9e..8444d49b91e4 100644
--- a/pkgs/servers/http/openresty/default.nix
+++ b/pkgs/servers/http/openresty/default.nix
@@ -7,11 +7,11 @@ with stdenv.lib;
 
 stdenv.mkDerivation rec {
   name = "openresty-${version}";
-  version = "1.7.7.1";
+  version = "1.7.10.1";
 
   src = fetchurl {
     url = "http://openresty.org/download/ngx_openresty-${version}.tar.gz";
-    sha256 = "1m541k2lys3155f0r94abgcmm2hgvv56q0i4fk58w6fa8n4h62z0";
+    sha256 = "0yg6pkagkkga6ly6fgmfcf557r2b4m75gyn6a7p9qcamb4zdgl2g";
   };
 
   buildInputs = [ openssl zlib pcre libxml2 libxslt gd geoip perl ];
@@ -40,13 +40,9 @@ stdenv.mkDerivation rec {
   ];
 
   postInstall = ''
-    mv $out/nginx/sbin $out/bin
-    mv $out/bin/sbin $out/sbin
-
+    mv $out/nginx/sbin/nginx $out/bin
     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
+    ln -s $out/bin/nginx $out/bin/openresty
   '';
 
   preConfigure = ''