I think its a coincidence. Check nodejs commit history: https://github.com/NixOS/nixpkgs/commits/f3282c8d1e0ce6ba5d9...
there are minor versions also
Closest I found was to pin the nix-channel entirely, but not different components to different versions.
let pinnedPkgs = import (builtins.fetchTarball {...}) {};
node = pinnedPkgs.nodejs-10_x;
to refer to a specific version of node.I've mostly stuck to nix-shell -p foo bar baz to setup my environments. It's holding me back and I should pull the trigger on a shell.nix file, just gotta learn the language.