Fix bogus mkOption types

Among others, systemd unit options were not being type-checked because
of this.  mkOption should really check its arguments better...
This commit is contained in:
Eelco Dolstra
2013-10-28 22:45:56 +01:00
parent 1408ac51a4
commit a40583e7e4
5 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ in
};
source = mkOption {
types = types.path;
type = types.path;
description = "Path of the source file.";
};