mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
nixos/phpfpm: use structuredAttrs instead of passAsFile
This commit is contained in:
@@ -49,10 +49,12 @@ let
|
||||
{
|
||||
inherit (poolOpts) phpPackage phpOptions;
|
||||
preferLocalBuild = true;
|
||||
passAsFile = [ "phpOptions" ];
|
||||
__structuredAttrs = true;
|
||||
}
|
||||
''
|
||||
cat ${poolOpts.phpPackage}/etc/php.ini $phpOptionsPath > $out
|
||||
( cat ${poolOpts.phpPackage}/etc/php.ini
|
||||
printf "%s" "$phpOptions"
|
||||
) > $out
|
||||
'';
|
||||
|
||||
poolOpts =
|
||||
|
||||
Reference in New Issue
Block a user