with import (fetchTarball https://github.com/nixos/nixpkgs/tarball/be0071c2d7053e994b30c6be373b87e9e8178b8e) { };

stdenv.mkDerivation {
    name = "dev-shell";
    src = null;
    buildInputs = [ nodejs-8_x ];
}

with import (fetchTarball https://github.com/nixos/nixpkgs/tarball/5c7cc53cb720cff0911bbb1c7846216d13d846a7) { };

stdenv.mkDerivation {
    name = "dev-shell";
    src = null;
    buildInputs = [ nodejs-8_x ];
}

Upgrade to latest node (by upgrading to what's the latest nixpkgs).
Upgrade to latest node (by upgrading to what's the latest nixpkgs).
