mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
16 lines
423 B
Nix
16 lines
423 B
Nix
{ system ? builtins.currentSystem
|
|
, config ? { }
|
|
, pkgs ? import ../../.. { inherit system config; }
|
|
, php ? 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'; };
|
|
}
|