From 79642eb580a285c1931a091a73016f5d3ae8eb4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=B9=82=E0=B8=97=E0=B8=AA=E0=B8=BA=E0=B8=95=E0=B8=B1?= =?UTF-8?q?=E0=B8=A5?= Date: Fri, 4 Apr 2025 19:09:26 +0700 Subject: [PATCH] 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. --- pkgs/by-name/mo/movim/package.nix | 42 +++++++++++++------------------ 1 file changed, 18 insertions(+), 24 deletions(-) diff --git a/pkgs/by-name/mo/movim/package.nix b/pkgs/by-name/mo/movim/package.nix index c30174451b17..b4a5655a243d 100644 --- a/pkgs/by-name/mo/movim/package.nix +++ b/pkgs/by-name/mo/movim/package.nix @@ -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) {