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:
talyz
2020-03-29 12:01:38 +02:00
parent 82cd2fbbf4
commit 716fd0e2f5

View File

@@ -178,9 +178,9 @@ let
extNames = map getExtName extList;
extraInit = writeText "custom-php.ini" ''
${extraConfig}
${lib.concatStringsSep "\n"
(lib.textClosureList extensionTexts extNames)}
${extraConfig}
'';
in
symlinkJoin {