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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user