Managing multiple versions of Node.js with nix?

I opened a new topic specifically for this at How to use a nix derivation from a local folder?