nixos/redis: fix evaluation

Commit 89fee1006c ("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!).
This commit is contained in:
Bjørn Forsman 2014-07-15 17:03:10 +02:00
parent a8e4abaf6f
commit a4cf5e903b

View File

@ -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] ];