When I install the rr debugger along with rust using home-manager and then build something, rr doesn’t work for some reason. When set them up in nix-shell, rr works fine.
I’ve been told home-manager is not for dev tools. I get it, it’s much better to have a shell.nix per project.
But I still don’t understand why I can’t have dev tools globally for my user in home-manager. If it’s possible, how?
When using things in a dev shell, their setup hooks are ran and influence the environment created. This is not true for the environment created by HM.
HM just bundles all the things in home.packages into a single buildEnv and then gets that into your users profile, which is observable only as a couple of symlinks in ~/.nix-profile.