Compare commits
2 commits
dfa5327a2b
...
9bdabd50e7
| Author | SHA1 | Date | |
|---|---|---|---|
| 9bdabd50e7 | |||
| b8d60d088d |
1 changed files with 8 additions and 1 deletions
|
|
@ -1,6 +1,13 @@
|
|||
{ php84, lib }:
|
||||
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
|
||||
php.buildComposerProject (finalAttrs: {
|
||||
pname = "tide-backend";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue