diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-07-15 17:03:10 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-07-15 17:05:54 +0200 |
commit | a4cf5e903b7782062d62489b23fa5021d1ac0862 (patch) | |
tree | 96b9e9e66ee204274b490f9e556040c174faf35a /nixos | |
parent | a8e4abaf6fe6819ea57213bb63217f3992a2be64 (diff) | |
download | nixlib-a4cf5e903b7782062d62489b23fa5021d1ac0862.tar nixlib-a4cf5e903b7782062d62489b23fa5021d1ac0862.tar.gz nixlib-a4cf5e903b7782062d62489b23fa5021d1ac0862.tar.bz2 nixlib-a4cf5e903b7782062d62489b23fa5021d1ac0862.tar.lz nixlib-a4cf5e903b7782062d62489b23fa5021d1ac0862.tar.xz nixlib-a4cf5e903b7782062d62489b23fa5021d1ac0862.tar.zst nixlib-a4cf5e903b7782062d62489b23fa5021d1ac0862.zip |
nixos/redis: fix evaluation
Commit 89fee1006c03d40052842b49f5cdbbeb755d081b ("nixos/redis: clean up option types") broke nixos evaluation: error: attempt to call something which is not a function but a set, at .../nixpkgs/nixos/modules/services/databases/redis.nix:111:28 Fix it. Reported by Oliver Charles (thanks!).
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/databases/redis.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/redis.nix b/nixos/modules/services/databases/redis.nix index db6b0813ff9b..b91c389e90a2 100644 --- a/nixos/modules/services/databases/redis.nix +++ b/nixos/modules/services/databases/redis.nix @@ -108,7 +108,7 @@ in }; save = mkOption { - type = with types; listOf listOf int; + type = with types; listOf (listOf int); default = [ [900 1] [300 10] [60 10000] ]; description = "The schedule in which data is persisted to disk, represented as a list of lists where the first element represent the amount of seconds and the second the number of changes."; example = [ [900 1] [300 10] [60 10000] ]; |