mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
24 lines
379 B
Nix
24 lines
379 B
Nix
{
|
|
runTest,
|
|
php,
|
|
}:
|
|
|
|
let
|
|
php' = php.buildEnv {
|
|
extensions = { enabled, all }: with all; enabled ++ [ apcu ];
|
|
};
|
|
in
|
|
{
|
|
fpm = runTest {
|
|
imports = [ ./fpm.nix ];
|
|
_module.args.php = php';
|
|
};
|
|
httpd = runTest {
|
|
imports = [ ./httpd.nix ];
|
|
_module.args.php = php';
|
|
};
|
|
pcre = runTest {
|
|
imports = [ ./pcre.nix ];
|
|
_module.args.php = php';
|
|
};
|
|
}
|