Skip to content

Commit cd6932b

Browse files
committedMar 23, 2025
nixos/grav: clean up PHP extensions
Specifically, simply add the extensions that are not already part of the default `enabled` set.
1 parent 395137a commit cd6932b

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed
 

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

+3-15
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)
Failed to load comments.