aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kenigsberg <matthewkenigsberg@gmail.com>2020-04-28 11:18:54 -0600
committerMatthew Kenigsberg <matthewkenigsberg@gmail.com>2020-04-28 11:18:54 -0600
commit6d40fe573c859725cac6eb2c884ecf84965c8853 (patch)
treea4d8874aa0861a22602dd5f2f4e81ac6f1fb2b3c
parent9e95b95a5da59252d140fb61cb1177645935dcd6 (diff)
rename to NIX_GCROOT
-rw-r--r--src/nix/shell.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/shell.cc b/src/nix/shell.cc
index fa8fe2e9b..fbfe24bbe 100644
--- a/src/nix/shell.cc
+++ b/src/nix/shell.cc
@@ -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};