nix develop: do not assume that saved vars are set
nix develop: do not assume that saved vars are set

This fixes https://github.com/NixOS/nix/issues/6809

NixOS/nix,NixOS/nix,NixOS/nix,NixOS/nix,NixOS/nix