You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not an issue, but a possibly useful transformer that might be nice to have.
I've been playing around with haumea and whilst trying to debug some dependencies had the idea for a tracing dependencies by using the following transformer:
This will produce a haumea tree that will output evaluation traces for all module accesses, which you could use in conjunction with nix repl to easily figure out all the dependencies of an attribute:
So if you had a haumea tree like (not actually evaluable, just shorthand):
Reasonable suggestion. It's even more powerful due to its invariance. This means that it can be used to visualize how other transformers are consuming modules down the pipe:
Not an issue, but a possibly useful transformer that might be nice to have.
I've been playing around with haumea and whilst trying to debug some dependencies had the idea for a tracing dependencies by using the following transformer:
This will produce a haumea tree that will output evaluation traces for all module accesses, which you could use in conjunction with nix repl to easily figure out all the dependencies of an attribute:
So if you had a haumea tree like (not actually evaluable, just shorthand):
Running
nix repl -f haumea_tree.nix foo.baz.something
would produce the trace of:The text was updated successfully, but these errors were encountered: