2021-02-27 19:39:26 +01:00
|
|
|
{ system ? builtins.currentSystem
|
|
|
|
, config ? {}
|
|
|
|
, pkgs ? import ../../.. { inherit system config; }
|
|
|
|
, php ? pkgs.php
|
2021-03-04 16:06:37 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
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'; };
|
2020-03-30 22:07:05 +02:00
|
|
|
}
|