0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixos/grav: clean up PHP extensions

Specifically, simply add the extensions that are not already part of
the default `enabled` set.
This commit is contained in:
Robert Helgesson 2025-03-22 00:44:32 +01:00
parent f9df9fc4be
commit ee04cf23b6

View file

@ -102,24 +102,12 @@ in
phpPackage = cfg.phpPackage.buildEnv {
extensions =
{ all, enabled }:
with all;
[
enabled
++ (with all; [
apcu
ctype
curl
dom
exif
filter
gd
mbstring
opcache
openssl
session
simplexml
xml
yaml
zip
];
]);
extraConfig = generators.toKeyValue { mkKeyValue = generators.mkKeyValueDefault { } " = "; } {
output_buffering = "0";