0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

Merge pull request #272919 from SuperSandro2000/nextcloud

nixos/nextcloud: allow phpOptions to contain ints
This commit is contained in:
Maximilian Bosch 2023-12-10 12:49:52 +01:00 committed by GitHub
commit 9f9de7c5e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -240,7 +240,7 @@ in {
};
phpOptions = mkOption {
type = types.attrsOf types.str;
type = with types; attrsOf (oneOf [ str int ]);
defaultText = literalExpression (generators.toPretty { } defaultPHPSettings);
description = lib.mdDoc ''
Options for PHP's php.ini file for nextcloud.