From e6150de90d8db101209fc6363f5f7696ee8192c4 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 15 Jun 2021 12:06:01 +0200 Subject: [PATCH] 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. --- src/nix/develop.cc | 1 + 1 file changed, 1 insertion(+) 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",