diff --git a/stylix/mk-target.nix b/stylix/mk-target.nix index bf1e02e3..9b29f5b4 100644 --- a/stylix/mk-target.nix +++ b/stylix/mk-target.nix @@ -268,15 +268,15 @@ let ) ); - normalizeConfig = + normalize = config: map (lib.fix ( self: config': if builtins.isPath config' then self (import config') else config' )) (lib.toList config); - normalizedConfig = normalizeConfig mkTargetConfig; - normalizedOptions = normalizeConfig options; + normalizedConfig = normalize mkTargetConfig; + normalizedOptions = normalize options; in { imports =