summary refs log tree commit diff
path: root/nixos/modules/system/etc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-28 15:12:11 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-28 22:45:56 +0100
commita40583e7e4eec305a08839df246455b0211dd7d1 (patch)
treef0d6c65ff78d15b79c87a5e489085c06b0addc0d /nixos/modules/system/etc
parent1408ac51a4e516e4a435369691121580186a2e4e (diff)
downloadnixpkgs-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.nix2
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.";
             };