nix-shell: Set $IN_NIX_SHELL

This allows scripts to distinguish between a real build and a Nix
shell.