From 6b279cd10ea82813decc4451fd3842b49ee9deea Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Mon, 4 Mar 2024 07:37:45 +0100 Subject: Merge pull request #9658 from pennae/env-diet reduce the size of Env by one pointer (cherry picked from commit 83f5622545a2fc31eb7e7d5105f64ed6dd3058b3) Change-Id: I5636290526d0165cfc61aee1e7a5b94db4a26cef --- src/libcmd/repl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcmd') 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, refstaticBaseEnv.get())) + , staticEnv(new StaticEnv(nullptr, state->staticBaseEnv.get())) , historyFile(getDataDir() + "/nix/repl-history") { } -- cgit v1.2.3