I have seen it described, but have had no luck using Builtins.trace.
Is there a trick? Is there a piece of nix code (not a build expression) which I can import from nix repl and see how to do it?
I have seen it described, but have had no luck using Builtins.trace.
Is there a trick? Is there a piece of nix code (not a build expression) which I can import from nix repl and see how to do it?
There are some extractions available in lib.debug
, you can also study their source to learn about how to use builtins.trace
https://github.com/NixOS/nixpkgs/blob/dfea4e4951a3cee4d1807d8d4590189cf16f366b/lib/debug.nix
Yup. Pretty helpful. Thank you