How do I build a nix-shell which depends on some unstable packages?

https://nixos.org/channels/<channel-name> still works, but you can also use https://channels.nixos.org/<channel-name> if you want to avoid one level of redirection.