diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-06-15 12:06:01 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-06-15 12:06:01 +0200 |
commit | e6150de90d8db101209fc6363f5f7696ee8192c4 (patch) | |
tree | 4f41174e7a974f064b09cad18001730576e7124b /src/nix/develop.cc | |
parent | 8e6ee1b9e924fbbbeb5594eb89e7a570f36ab6e1 (diff) |
nix develop: Filter out NIX_REMOTE
When recursive Nix is enabled, NIX_REMOTE is set to
unix:///build/.nix-socket, which doesn't work outside of the sandbox.
Diffstat (limited to 'src/nix/develop.cc')
-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 10f843651..e51de2de8 100644 --- a/src/nix/develop.cc +++ b/src/nix/develop.cc @@ -185,6 +185,7 @@ struct Common : InstallableCommand, MixProfile "NIX_BUILD_TOP", "NIX_ENFORCE_PURITY", "NIX_LOG_FD", + "NIX_REMOTE", "PPID", "PWD", "SHELLOPTS", |