From cb6bbed75eaca21deb8950c2ec0036ae5cde18ca Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Wed, 10 Dec 2025 18:15:11 +0100 Subject: [PATCH] stylix/mk-target: rename normalizeConfig function to normalize (#2081) Rename the normalizeConfig function to normalize to generalize the name beyond the specific config and options module arguments, following commit 1272e6858e29 ("stylix/mk-target: rename mkConfig function to callModule"). Fixes: 6153df31ce4f ("stylix/mk-target: normalize options argument identically to config") Link: https://github.com/nix-community/stylix/pull/2081 --- stylix/mk-target.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 =