set upload limits
This commit is contained in:
parent
ec956c1ca8
commit
757be61f59
6 changed files with 34 additions and 11 deletions
|
|
@ -2,16 +2,19 @@
|
|||
lib,
|
||||
makeWrapper,
|
||||
php,
|
||||
uploadLimits ? import ../upload-limits.nix,
|
||||
}:
|
||||
|
||||
let
|
||||
phpPackage = php.withExtensions (
|
||||
{ enabled, all }:
|
||||
enabled
|
||||
++ [
|
||||
all.pdo_pgsql
|
||||
]
|
||||
);
|
||||
phpPackage = php.buildEnv {
|
||||
extensions =
|
||||
{ enabled, all }:
|
||||
enabled
|
||||
++ [
|
||||
all.pdo_pgsql
|
||||
];
|
||||
extraConfig = uploadLimits.phpOptions;
|
||||
};
|
||||
in
|
||||
phpPackage.buildComposerProject2 (finalAttrs: {
|
||||
pname = "rabbi-gerzi-backend";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue