movim: with all; removed

nixfmt does not provide a good experience for this sort of shorthand
which becomes very difficult to read as a result.
This commit is contained in:
โทสฺตัล
2025-04-04 19:22:01 +07:00
parent e25d9e7af9
commit 79642eb580
+18 -24
View File
@@ -58,30 +58,24 @@ php.buildComposerProject2 (finalAttrs: {
extensions = (
{ all, enabled }:
enabled
++ (with all; [
curl
dom
gd
imagick
mbstring
pdo
simplexml
])
++ lib.optionals withPostgreSQL (
with all;
[
pdo_pgsql
pgsql
]
)
++ lib.optionals withMySQL (
with all;
[
mysqli
mysqlnd
pdo_mysql
]
)
++ [
all.curl
all.dom
all.gd
all.imagick
all.mbstring
all.pdo
all.simplexml
]
++ lib.optionals withPostgreSQL [
all.pdo_pgsql
all.pgsql
]
++ lib.optionals withMySQL [
all.mysqli
all.mysqlnd
all.pdo_mysql
]
);
}
// lib.optionalAttrs (phpCfg != null) {