Skip to content

Commit ee04cf2

Browse files
committed
nixos/grav: clean up PHP extensions
Specifically, simply add the extensions that are not already part of the default `enabled` set.
1 parent f9df9fc commit ee04cf2

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

nixos/modules/services/web-apps/grav.nix

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -102,24 +102,12 @@ in
102102
phpPackage = cfg.phpPackage.buildEnv {
103103
extensions =
104104
{ all, enabled }:
105-
with all;
106-
[
105+
enabled
106+
++ (with all; [
107107
apcu
108-
ctype
109-
curl
110-
dom
111-
exif
112-
filter
113-
gd
114-
mbstring
115-
opcache
116-
openssl
117-
session
118-
simplexml
119108
xml
120109
yaml
121-
zip
122-
];
110+
]);
123111

124112
extraConfig = generators.toKeyValue { mkKeyValue = generators.mkKeyValueDefault { } " = "; } {
125113
output_buffering = "0";

0 commit comments

Comments
 (0)