ccadek / nixos-dotfiles

MIT License
0 stars 0 forks source link

nvm can't run #1

Open ccadek opened 1 month ago

ccadek commented 1 month ago

Using nvm is currently not possible as this NixOS setup currently does not allow to run dynamically linked binaries.

chris@laptop /e/nixos [127]> nvm use v19.2.0 
Could not start dynamically linked executable: node
NixOS cannot run dynamically linked executables intended for generic
linux environments out of the box. For more information, see:
https://nix.dev/permalink/stub-ld
Now using Node  (npm ) 
ccadek commented 1 month ago

Seems like running NVM in NixOS will just not be possible. The suggested solution is to create nix-shells with the required nodejs version. Will have to analyze this further.