aboutsummaryrefslogtreecommitdiff
path: root/modules/apps/mariadb
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-01-20 11:49:11 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-01-20 11:49:11 +0300
commitd684a77fd887bf6a62a166f6ccc34501d614de3b (patch)
tree89741e8d71158d05be4da11eef891d8190c0b542 /modules/apps/mariadb
parente5d96c4abb52e35c5b4563bb646b185b24438787 (diff)
downloadnixsap-d684a77fd887bf6a62a166f6ccc34501d614de3b.tar.gz
mariadb: typo
With `either`, submodule attrs aren't checked, but the idea is good anyway, so let it be here for a while. See https://github.com/zalora/nixsap/issues/10
Diffstat (limited to 'modules/apps/mariadb')
-rw-r--r--modules/apps/mariadb/roles.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/apps/mariadb/roles.nix b/modules/apps/mariadb/roles.nix
index 2971242..0e10cf9 100644
--- a/modules/apps/mariadb/roles.nix
+++ b/modules/apps/mariadb/roles.nix
@@ -164,7 +164,7 @@ let
roleType =
let
objects = mkOption {
- type = either str (listOf str);
+ type = listOf str;
default = [];
example = [
"%bleep.%.created\_at"
@@ -177,7 +177,7 @@ let
];
};
basicRole = submodule {
- options.nixsap = {
+ options = {
"ALL" = objects;
"ALTER" = objects;
"CREATE" = objects;