diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-28 15:12:11 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-28 22:45:56 +0100 |
commit | a40583e7e4eec305a08839df246455b0211dd7d1 (patch) | |
tree | f0d6c65ff78d15b79c87a5e489085c06b0addc0d /nixos/modules/system/etc | |
parent | 1408ac51a4e516e4a435369691121580186a2e4e (diff) | |
download | nixpkgs-a40583e7e4eec305a08839df246455b0211dd7d1.tar nixpkgs-a40583e7e4eec305a08839df246455b0211dd7d1.tar.gz nixpkgs-a40583e7e4eec305a08839df246455b0211dd7d1.tar.bz2 nixpkgs-a40583e7e4eec305a08839df246455b0211dd7d1.tar.lz nixpkgs-a40583e7e4eec305a08839df246455b0211dd7d1.tar.xz nixpkgs-a40583e7e4eec305a08839df246455b0211dd7d1.tar.zst nixpkgs-a40583e7e4eec305a08839df246455b0211dd7d1.zip |
Fix bogus mkOption types
Among others, systemd unit options were not being type-checked because of this. mkOption should really check its arguments better...
Diffstat (limited to 'nixos/modules/system/etc')
-rw-r--r-- | nixos/modules/system/etc/etc.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/etc/etc.nix b/nixos/modules/system/etc/etc.nix index 91fcdcf2435..30d0119c293 100644 --- a/nixos/modules/system/etc/etc.nix +++ b/nixos/modules/system/etc/etc.nix @@ -70,7 +70,7 @@ in }; source = mkOption { - types = types.path; + type = types.path; description = "Path of the source file."; }; |