diff options
Diffstat (limited to 'nixos/tests/php/pcre.nix')
-rw-r--r-- | nixos/tests/php/pcre.nix | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/nixos/tests/php/pcre.nix b/nixos/tests/php/pcre.nix index 97572f63af3..917184b975e 100644 --- a/nixos/tests/php/pcre.nix +++ b/nixos/tests/php/pcre.nix @@ -1,6 +1,7 @@ let testString = "can-use-subgroups"; -in import ../make-test-python.nix ({lib, php, ...}: { +in +import ../make-test-python.nix ({ lib, php, ... }: { name = "php-${php.version}-httpd-pcre-jit-test"; meta.maintainers = lib.teams.php.members; @@ -12,14 +13,15 @@ in import ../make-test-python.nix ({lib, php, ...}: { phpPackage = php; enablePHP = true; phpOptions = "pcre.jit = true"; - extraConfig = let - testRoot = pkgs.writeText "index.php" - '' - <?php - preg_match('/(${testString})/', '${testString}', $result); - var_dump($result); - ''; - in + extraConfig = + let + testRoot = pkgs.writeText "index.php" + '' + <?php + preg_match('/(${testString})/', '${testString}', $result); + var_dump($result); + ''; + in '' Alias / ${testRoot}/ |