From 4697f83984f0f1e3b58267fcef3b15b7ce60901b Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sat, 10 Dec 2016 15:39:25 +0100 Subject: [PATCH] openfire service: more informative assertion failure message Explain why the assertion fails; the user already knows that it *has* failed. --- nixos/modules/services/networking/openfire.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/openfire.nix b/nixos/modules/services/networking/openfire.nix index 454b504eda2..4059eb3db83 100644 --- a/nixos/modules/services/networking/openfire.nix +++ b/nixos/modules/services/networking/openfire.nix @@ -34,7 +34,7 @@ with lib; assertions = singleton { assertion = !(config.services.openfire.usePostgreSQL -> config.services.postgresql.enable); - message = "OpenFire assertion failed."; + message = "OpenFire configured to use PostgreSQL but services.postgresql.enable is not enabled."; }; systemd.services.openfire = {