aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 07:37:45 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 07:37:45 +0100
commit6b279cd10ea82813decc4451fd3842b49ee9deea (patch)
treea88746796944a0d17294995bf54481f3ed6ad426 /src/libcmd
parentcd326a2aa4a5ad9118a56d2eff459c73b2ec9226 (diff)
Merge pull request #9658 from pennae/env-diet
reduce the size of Env by one pointer (cherry picked from commit 83f5622545a2fc31eb7e7d5105f64ed6dd3058b3) Change-Id: I5636290526d0165cfc61aee1e7a5b94db4a26cef
Diffstat (limited to 'src/libcmd')
-rw-r--r--src/libcmd/repl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc
index e6f0faa06..d25ad582e 100644
--- a/src/libcmd/repl.cc
+++ b/src/libcmd/repl.cc
@@ -109,7 +109,7 @@ NixRepl::NixRepl(const SearchPath & searchPath, nix::ref<Store> store, ref<EvalS
: AbstractNixRepl(state)
, debugTraceIndex(0)
, getValues(getValues)
- , staticEnv(new StaticEnv(false, state->staticBaseEnv.get()))
+ , staticEnv(new StaticEnv(nullptr, state->staticBaseEnv.get()))
, historyFile(getDataDir() + "/nix/repl-history")
{
}