Skip to content

Commit

Permalink
fix(fonts): Remove coercedTo
Browse files Browse the repository at this point in the history
coercedTo fails: `error: coercedTo: coercedType must not have
submodules`

We probably need some other method to keep the backwards compatibility
  • Loading branch information
jalil-salame committed Feb 8, 2024
1 parent 8942715 commit b8d3f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stylix/fonts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let
};
};

fontList = types.coercedTo fontType (f: [ f ]) (types.nonEmptyListOf fontType);
fontList = types.nonEmptyListOf fontType;
in {
options.stylix.fonts = {
serif = mkOption {
Expand Down

0 comments on commit b8d3f26

Please sign in to comment.