diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc index 281e1f6f0..68bf41329 100644 --- a/src/libcmd/repl.cc +++ b/src/libcmd/repl.cc @@ -839,7 +839,7 @@ std::unique_ptr AbstractNixRepl::create( { return std::make_unique( lookupPath, - openStore(), + std::move(store), state, getValues );