2 ms·
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
by whateveracct 2y 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.
- n8henrie 2y agoCould 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.
- whateveracct 2y agoI 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.