Merge branch 'add-pdo-pgsql'
This commit is contained in:
commit
9bdabd50e7
1 changed files with 8 additions and 1 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue