From 0ead3b477f31965e2a20ae8cf0ed3e9c1e01e85f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 30 Jun 2024 08:07:01 +0200 Subject: [PATCH] buildClan: improve deprecation error message of clanName Printing the clanName in my case was actually more confusing then helpful. Also mention what function needs to be updated. --- lib/build-clan/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build-clan/default.nix b/lib/build-clan/default.nix index 2f3d3436..d156f2e4 100644 --- a/lib/build-clan/default.nix +++ b/lib/build-clan/default.nix @@ -107,7 +107,7 @@ let deprecationWarnings = [ (lib.warnIf ( clanName != null - ) "clanName is deprecated, please use meta.name instead. ${clanName}" null) + ) "clanName in buildClan is deprecated, please use meta.name instead." null) (lib.warnIf (clanIcon != null) "clanIcon is deprecated, please use meta.icon instead" null) ];