Hacker News new | ask | show | jobs
by whateveracct 750 days ago
ever use nix repl? i found my complaints about grokkability disappeared once i realized i could easily introspect my build (and all my dependencies' builds) at any level.

that + learning the like 5 or so idioms that pervade nixpkgs and you can use Nix quite successfully imo.

1 comments

Could you share an example of how you use nix repl? I use it every once in a while, but usually I'm starting from scratch and trying to replicate an error for debugging. It almost sounds like you're using the `--debugger` option (isn't there something like that?) which I've not had much luck with.
I use it to inspect various attributes of various packages.

When a build fails, I use the option to keep the output directory and inspect things. That's another main useful method.