mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
comment
This commit is contained in:
parent
a3bc695e7d
commit
9e95b95a5d
1 changed files with 1 additions and 0 deletions
|
@ -278,6 +278,7 @@ struct CmdDevShell : Common, MixEnvironment
|
|||
auto shell = getEnv("SHELL").value_or("bash");
|
||||
|
||||
setEnviron();
|
||||
// prevent garbage collection until shell exits
|
||||
setenv("GCROOT", gcroot.data(), 1);
|
||||
|
||||
auto args = Strings{std::string(baseNameOf(shell)), "--rcfile", rcFilePath};
|
||||
|
|
Loading…
Reference in a new issue