php: Add nixos test to ensure php-pcre works in httpd

This commit is contained in:
Sarah Brofeldt
2017-11-12 08:05:27 +01:00
parent c7891595c9
commit 58d07e2d6b
4 changed files with 47 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ let
configureFlags = [ "--enable-pcntl" ];
};
# pcre functionality is tested in nixos/tests/php-pcre.nix
pcre = {
configureFlags = ["--with-pcre-regex=${pcre.dev} PCRE_LIBDIR=${pcre}"];
buildInputs = [ pcre ];