nix develop: Unset $HOSTNAME

This is set to "localhost" by stdenv which is probably not what you
want.
This commit is contained in:
Eelco Dolstra 2020-10-09 22:03:18 +02:00
parent 44349064f7
commit 725488b892

View file

@ -164,6 +164,7 @@ struct Common : InstallableCommand, MixProfile
"BASHOPTS",
"EUID",
"HOME", // FIXME: don't ignore in pure mode?
"HOSTNAME",
"NIX_BUILD_TOP",
"NIX_ENFORCE_PURITY",
"NIX_LOG_FD",