From 28b360afe4c2a932ad893f3e061f5fcd24d1ac4c Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Wed, 28 Jan 2026 15:39:01 +1000 Subject: [PATCH] rename mkInputs this -> mkInputs mixture less confusing --- nt/mix/mixture.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nt/mix/mixture.nix b/nt/mix/mixture.nix index e60c26b..e4d305a 100644 --- a/nt/mix/mixture.nix +++ b/nt/mix/mixture.nix @@ -15,8 +15,6 @@ ; in { newMixture = inputs: modBuilder: let - mkInputs = this: {inherit this;} // inputs; - # parse mixture declaration structure decl = modBuilder mixture.private @@ -37,9 +35,12 @@ in { # config = Terminal {}; }; + mkInputs = mixture: {this = mixture;} // inputs; descendentInputs = mkInputs mixture.protected; + mkMixtureIncludes = layer: mkIncludes decl.includes.${layer} descendentInputs; mkMixtureSubMods = layer: mkSubMods decl.submods.${layer} descendentInputs; + includes = { public = mkMixtureIncludes "public"; protected = includes.public // mkMixtureIncludes "protected";