nixos/tests/php-pcre: replace usage of deprecated services.httpd.extraSubservices
This commit is contained in:
parent
ac4327c025
commit
d1129a5688
@ -8,11 +8,8 @@ import ./make-test.nix ({ ...}: {
|
|||||||
services.httpd = {
|
services.httpd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
adminAddr = "please@dont.contact";
|
adminAddr = "please@dont.contact";
|
||||||
extraSubservices = lib.singleton {
|
|
||||||
function = f: {
|
|
||||||
enablePHP = true;
|
enablePHP = true;
|
||||||
phpOptions = "pcre.jit = true";
|
phpOptions = "pcre.jit = true";
|
||||||
|
|
||||||
extraConfig =
|
extraConfig =
|
||||||
let
|
let
|
||||||
testRoot = pkgs.writeText "index.php"
|
testRoot = pkgs.writeText "index.php"
|
||||||
@ -32,8 +29,6 @@ import ./make-test.nix ({ ...}: {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
};
|
|
||||||
testScript = { ... }:
|
testScript = { ... }:
|
||||||
''
|
''
|
||||||
$machine->waitForUnit('httpd.service');
|
$machine->waitForUnit('httpd.service');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user