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:
parent
f9df9fc4be
commit
ee04cf23b6
1 changed files with 3 additions and 15 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue