diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-10-09 22:03:18 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-10-09 22:03:18 +0200 |
commit | 725488b8922c731042a557608b8d833b05e77243 (patch) | |
tree | 7d8d40394345a11914b3a313ffbbe645a76e92e6 /src | |
parent | 44349064f75616fd47194425e27f5cb1d6ef5ecb (diff) |
nix develop: Unset $HOSTNAME
This is set to "localhost" by stdenv which is probably not what you
want.
Diffstat (limited to 'src')
-rw-r--r-- | src/nix/develop.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/develop.cc b/src/nix/develop.cc index f763e8ba0..9372f43de 100644 --- a/src/nix/develop.cc +++ b/src/nix/develop.cc @@ -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", |