summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2014-07-15 17:03:10 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-07-15 17:05:54 +0200
commita4cf5e903b7782062d62489b23fa5021d1ac0862 (patch)
tree96b9e9e66ee204274b490f9e556040c174faf35a /nixos
parenta8e4abaf6fe6819ea57213bb63217f3992a2be64 (diff)
downloadnixlib-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.nix2
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] ];