For example, suppose I want to quickly be witching Node.js version in my home folder using
nvm (NPM packages to manage Node versions). I set these tools to use a custom prefix in
~/.local or similar.
But upon trying to execute a
node binary in this location, I get
file not found because the library modules (
.so files) are not found by the executable.
More details with example output here: https://github.com/tj/n/issues/603
How can we use these tools? Can we somehow modify
LD_LIBRARY_PATH in our shell to make binaries in our home folder work?
My short term goal is to use NixOS to set up my system-level configuration, then use familiar tools in my home folder (f.e.
nvm) to get working quickly.
NixOS has some nice pros, but this one is a downside of NixOS. It is nice and easy to get up and running quickly with NixOS, and it’s nice knowing I can revert an update and reproduce installs easily (both of which I haven’t had to do yet), but I’m having a tougher time getting to work in my home folder with standard tools (f.e.
I wonder if this area can be improved somehow?