Merge branch 'add-pdo-pgsql'

This commit is contained in:
Yisroel Baum 2026-05-08 16:06:39 +03:00
commit 9bdabd50e7
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -1,6 +1,13 @@
{ php84, lib }: { php84, lib }:
let let
php = php84; # Laravel connects to Postgres via PDO, so the runtime PHP must
# ship pdo_pgsql. The default php84 set ships pdo, pdo_mysql, and
# pdo_sqlite but not pdo_pgsql. buildEnv gives us a php with the
# extra extension that flows through to passthru.php and the
# composer build hooks.
php = php84.buildEnv {
extensions = ({ enabled, all }: enabled ++ [ all.pdo_pgsql ]);
};
in in
php.buildComposerProject (finalAttrs: { php.buildComposerProject (finalAttrs: {
pname = "tide-backend"; pname = "tide-backend";