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.
This commit is contained in:
Eelco Dolstra 2021-06-15 12:06:01 +02:00
parent 8e6ee1b9e9
commit e6150de90d
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -185,6 +185,7 @@ struct Common : InstallableCommand, MixProfile
"NIX_BUILD_TOP",
"NIX_ENFORCE_PURITY",
"NIX_LOG_FD",
"NIX_REMOTE",
"PPID",
"PWD",
"SHELLOPTS",