diff options
Diffstat (limited to 'src/nix/shell.cc')
-rw-r--r-- | src/nix/shell.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/shell.cc b/src/nix/shell.cc index 2c5142518..6d5f1603c 100644 --- a/src/nix/shell.cc +++ b/src/nix/shell.cc @@ -275,7 +275,7 @@ struct CmdDevShell : Common, MixEnvironment stopProgressBar(); - auto shell = getEnv("SHELL", "bash"); + auto shell = getEnv("SHELL").value_or("bash"); setEnviron(); |