fake.modules transposition for aspect-oriented Dendritic Nix. with cross-aspect dependencies. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/ dendrix.oeiuwq.com/Dendritic.html
dendritic nix aspect oriented

providers take explicit arguments

+6 -2
+6 -2
nix/types.nix
··· 26 26 chainOnly = hasChain && arity == 1; 27 27 both = hasClass && hasChain && arity == 2; 28 28 in 29 - arity == 0 || classOnly || chainOnly || both 29 + classOnly || chainOnly || both 30 30 ); 31 31 32 32 functionProviderType = lib.types.either functionToAspect (lib.types.functionTo providerType); ··· 74 74 visible = false; 75 75 description = "Functor to default provider"; 76 76 type = lib.types.functionTo providerType; 77 - default = aspect: _: aspect; 77 + default = 78 + aspect: 79 + # deadnix: skip 80 + { class, aspect-chain }: 81 + aspect; 78 82 }; 79 83 options.resolve = lib.mkOption { 80 84 internal = true;