Is there a variant of builtins.trace
that just prints the same thing it returns in builtins / lib / nixpkgs?
It would be immensely useful to quickly debug something without having to duplicated the thing you are trying to have printed out.
I could easily define it like this, but I don’t wanna do that in every repo I want to use it / maintain my own library.
simpleTrace = arg: builtins.trace arg arg;