about summary refs log tree commit diff
path: root/pkgs/servers/http/openresty
diff options
context:
space:
mode:
authorBruno Bigras <bigras.bruno@gmail.com>2021-10-06 23:36:02 -0400
committerBruno Bigras <bigras.bruno@gmail.com>2021-10-14 07:01:56 -0400
commitfeb47656e4d36a355b4f889e6f9c4c14a8f255c4 (patch)
treec1ac64f25c2015230b4d406caa0c377c1cba765f /pkgs/servers/http/openresty
parent2ceae2db61f6b60e56c3ee54ba38ff43f10574a6 (diff)
nixos/tests/openresty-lua: test openresty with lua
related to #140655
Diffstat (limited to 'pkgs/servers/http/openresty')
-rw-r--r--pkgs/servers/http/openresty/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/servers/http/openresty/default.nix b/pkgs/servers/http/openresty/default.nix
index 3c30b2c3ed0a4..5c852de5b64aa 100644
--- a/pkgs/servers/http/openresty/default.nix
+++ b/pkgs/servers/http/openresty/default.nix
@@ -3,6 +3,7 @@
 , lib
 , fetchurl
 , postgresql
+, nixosTests
 , ...
 }@args:
 
@@ -42,6 +43,10 @@ callPackage ../nginx/generic.nix args rec {
     ln -s $out/nginx/html $out/html
   '';
 
+  passthru.tests = {
+    inherit (nixosTests) openresty-lua;
+  };
+
   meta = {
     description = "A fast web application server built on Nginx";
     homepage = "https://openresty.org";