-

@ Five
2025-02-23 19:01:34
Because the shell is isolated and that has advantages of fine-tuning what you want there to be available but you really need to know what you're doing is the tradeoff.
Dynamically linked stuff is one of these headaches you must deal with if you don't know exactly what's happening. If sth is not found, look for it in the nix store and add it to the LD_LIBRARY_PATH.
I mostly got away with just putting the cargo bin dir on path during my limited number rust projects. But e.g. Python projects linking to rust can cause such problems.