aboutsummaryrefslogtreecommitdiff
path: root/src/nix/develop.cc
diff options
context:
space:
mode:
authorThéophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>2022-09-24 12:55:53 +0200
committerGitHub <noreply@github.com>2022-09-24 12:55:53 +0200
commit371013c08dc68d90c003ac677045ecbc9b463e8c (patch)
tree7e9439081cba6786c04899cc53199b05f1a27b38 /src/nix/develop.cc
parent3eb185d6d14d42943cd851f423d125609ca910ea (diff)
parentece12a97d9c7e0024ebddb9e5eb0c919a9efb694 (diff)
Merge pull request #7010 from edolstra/ignore-shell
nix develop: Ignore stdenv's $SHELL
Diffstat (limited to 'src/nix/develop.cc')
-rw-r--r--src/nix/develop.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/develop.cc b/src/nix/develop.cc
index ba7ba7c25..4de109754 100644
--- a/src/nix/develop.cc
+++ b/src/nix/develop.cc
@@ -246,6 +246,7 @@ struct Common : InstallableCommand, MixProfile
"NIX_LOG_FD",
"NIX_REMOTE",
"PPID",
+ "SHELL",
"SHELLOPTS",
"SSL_CERT_FILE", // FIXME: only want to ignore /no-cert-file.crt
"TEMP",