A flake checker (treefmt & nix-unit) for testing other flakes with zero dependencies.

take only new target

+7 -10
+7 -10
default.nix
··· 1 1 inputs: 2 2 let 3 3 functor = 4 - _: newInputs: newModule: 4 + _: target: newModule: 5 5 inputs.flake-parts.lib.mkFlake 6 6 { 7 - inputs = 8 - inputs 9 - // newInputs 10 - // { 11 - target = newInputs.self; 12 - checkmate = inputs.self // { 13 - inputs = inputs.self.inputs // { 14 - target = newInputs.self; 15 - }; 7 + inputs = inputs // { 8 + inherit target; 9 + self = inputs.self // { 10 + inputs = inputs.self.inputs // { 11 + inherit target; 16 12 }; 17 13 }; 14 + }; 18 15 } 19 16 { 20 17 imports = [