php.buildEnv: Put the extraConfig snippet after extensions
Make sure all the extensions are loaded first, then read the custom config where possible.
This commit is contained in:
parent
82cd2fbbf4
commit
716fd0e2f5
|
@ -178,9 +178,9 @@ let
|
||||||
|
|
||||||
extNames = map getExtName extList;
|
extNames = map getExtName extList;
|
||||||
extraInit = writeText "custom-php.ini" ''
|
extraInit = writeText "custom-php.ini" ''
|
||||||
${extraConfig}
|
|
||||||
${lib.concatStringsSep "\n"
|
${lib.concatStringsSep "\n"
|
||||||
(lib.textClosureList extensionTexts extNames)}
|
(lib.textClosureList extensionTexts extNames)}
|
||||||
|
${extraConfig}
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
symlinkJoin {
|
symlinkJoin {
|
||||||
|
|
Loading…
Reference in New Issue