1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

assertions '.msg' doesn't exist => .message

svn path=/nixos/trunk/; revision=33508
This commit is contained in:
Mathijs Kwik 2012-04-01 10:54:06 +00:00
parent bc6ca7944f
commit de5b437004
3 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ in
assertions = mkOption {
default = [];
example = [ { assertion = false; msg = "you can't enable this for that reason"; } ];
example = [ { assertion = false; message = "you can't enable this for that reason"; } ];
merge = pkgs.lib.mergeListOption;
description = ''
This option allows modules to express conditions that must

View file

@ -35,7 +35,7 @@ in
};
assertions = [{ assertion = if cfg.forwardX11 then cfg.setXAuthLocation else true;
msg = "cannot enable X11 forwarding without setting xauth location";}];
message = "cannot enable X11 forwarding without setting xauth location";}];
config = {
environment.etc =

View file

@ -302,7 +302,7 @@ in
'';
assertions = [{ assertion = if cfg.forwardX11 then cfgc.setXAuthLocation else true;
msg = "cannot enable X11 forwarding without setting xauth location";}];
message = "cannot enable X11 forwarding without setting xauth location";}];
};
}