From 45aa31f5a4975e6f28596fa3c49997b8a35c78a1 Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Mon, 21 Apr 2025 22:32:53 +0200 Subject: [PATCH] stylix: apply standardized message convention (#1155) Apply the standardized message convention, introduced in commit 5e8be7521e8f ("treewide: simplify and standardize message convention (#796)"). Fixes: c8e4a0d2186d ("treewide: optionalize stylix.image option (#717)") Link: https://github.com/danth/stylix/pull/1155 Reviewed-by: awwpotato <153149335+awwpotato@users.noreply.github.com> --- stylix/palette.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stylix/palette.nix b/stylix/palette.nix index 36af0afb..097b275d 100644 --- a/stylix/palette.nix +++ b/stylix/palette.nix @@ -169,7 +169,10 @@ in assertions = lib.mkIf cfg.enable [ { assertion = !(cfg.image == null && cfg.base16Scheme == null); - message = "One of `stylix.image` or `stylix.base16Scheme` must be set"; + + message = '' + stylix: one of `stylix.image` or `stylix.base16Scheme` must be set + ''; } ];