nixos/tests/php: add apcu to php to actually test whether extensions are properly loaded
This commit is contained in:
@@ -2,8 +2,14 @@
|
||||
, config ? {}
|
||||
, pkgs ? import ../../.. { inherit system config; }
|
||||
, php ? pkgs.php
|
||||
}: {
|
||||
fpm = import ./fpm.nix { inherit system pkgs php; };
|
||||
httpd = import ./httpd.nix { inherit system pkgs php; };
|
||||
pcre = import ./pcre.nix { inherit system pkgs php; };
|
||||
}:
|
||||
|
||||
let
|
||||
php' = php.buildEnv {
|
||||
extensions = { enabled, all }: with all; enabled ++ [ apcu ];
|
||||
};
|
||||
in {
|
||||
fpm = import ./fpm.nix { inherit system pkgs; php = php'; };
|
||||
httpd = import ./httpd.nix { inherit system pkgs; php = php'; };
|
||||
pcre = import ./pcre.nix { inherit system pkgs; php = php'; };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user