From b8d3f264ebb293af5f343c69e740977bf7d469e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Wed, 3 Jan 2024 23:08:52 +0100 Subject: [PATCH] fix(fonts): Remove coercedTo coercedTo fails: `error: coercedTo: coercedType must not have submodules` We probably need some other method to keep the backwards compatibility --- stylix/fonts.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylix/fonts.nix b/stylix/fonts.nix index 1dbee86f..0241e595 100644 --- a/stylix/fonts.nix +++ b/stylix/fonts.nix @@ -21,7 +21,7 @@ let }; }; - fontList = types.coercedTo fontType (f: [ f ]) (types.nonEmptyListOf fontType); + fontList = types.nonEmptyListOf fontType; in { options.stylix.fonts = { serif = mkOption {