diff options
author | Izorkin <izorkin@elven.pw> | 2020-04-16 23:08:00 +0300 |
---|---|---|
committer | Izorkin <izorkin@elven.pw> | 2020-05-06 13:21:59 +0300 |
commit | ca2145bdfc83382ba7ec83a275734040a2a7fddc (patch) | |
tree | b677f3b13ff5a4e3c115dc31ddb26fa4e38c3c4e /pkgs/servers/http/unit | |
parent | dc0260f7dabf55814b1ca3c37a40ace237ad1fde (diff) | |
download | nixlib-ca2145bdfc83382ba7ec83a275734040a2a7fddc.tar nixlib-ca2145bdfc83382ba7ec83a275734040a2a7fddc.tar.gz nixlib-ca2145bdfc83382ba7ec83a275734040a2a7fddc.tar.bz2 nixlib-ca2145bdfc83382ba7ec83a275734040a2a7fddc.tar.lz nixlib-ca2145bdfc83382ba7ec83a275734040a2a7fddc.tar.xz nixlib-ca2145bdfc83382ba7ec83a275734040a2a7fddc.tar.zst nixlib-ca2145bdfc83382ba7ec83a275734040a2a7fddc.zip |
nixos/tests: add unit-php test
Diffstat (limited to 'pkgs/servers/http/unit')
-rw-r--r-- | pkgs/servers/http/unit/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/servers/http/unit/default.nix b/pkgs/servers/http/unit/default.nix index 407882f176e6..c161566d329f 100644 --- a/pkgs/servers/http/unit/default.nix +++ b/pkgs/servers/http/unit/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, which +{ stdenv, fetchFromGitHub, nixosTests, which , withPython2 ? false, python2 , withPython3 ? true, python3, ncurses , withPHP72 ? false, php72 @@ -81,6 +81,8 @@ in stdenv.mkDerivation rec { ${optionalString withRuby_2_7 "./configure ruby --module=ruby27 --ruby=${ruby_2_7}/bin/ruby"} ''; + passthru.tests.unit-php = nixosTests.unit-php; + meta = { description = "Dynamic web and application server, designed to run applications in multiple languages."; homepage = "https://unit.nginx.org/"; |