by lpmay · 5y ago · 0 comments
I'm not completely sure but I think this approach is preferred because shellHook only runs in `nix-shell` but if you ever wanted to `nix-build` a release it might not run.
Because shellHook allows on executing any code, there's no standardized way to undo what it executes, so those tools don't execute that part.