1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-04 15:31:47 +02:00

libcmd/repl: Make AbstractNixRepl::create respect its store argument

The only reference (according to clangd) to this function also uses `openStore`,
so this is a no-op.

(cherry picked from commit 8066e4b0c3)
This commit is contained in:
Sergei Zimmerman 2025-03-23 22:10:43 +00:00 committed by Mergify
parent 86271c364d
commit a5c9b10083

View file

@ -839,7 +839,7 @@ std::unique_ptr<AbstractNixRepl> AbstractNixRepl::create(
{
return std::make_unique<NixRepl>(
lookupPath,
openStore(),
std::move(store),
state,
getValues
);