rename to NIX_GCROOT

This commit is contained in:
Matthew Kenigsberg 2020-04-28 11:18:54 -06:00
parent 9e95b95a5d
commit 6d40fe573c

View file

@ -279,7 +279,7 @@ struct CmdDevShell : Common, MixEnvironment
setEnviron();
// prevent garbage collection until shell exits
setenv("GCROOT", gcroot.data(), 1);
setenv("NIX_GCROOT", gcroot.data(), 1);
auto args = Strings{std::string(baseNameOf(shell)), "--rcfile", rcFilePath};