aboutsummaryrefslogtreecommitdiff
path: root/src/nix-instantiate
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-instantiate')
-rw-r--r--src/nix-instantiate/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix-instantiate/main.cc b/src/nix-instantiate/main.cc
index 3eb6d3031..144b13d2b 100644
--- a/src/nix-instantiate/main.cc
+++ b/src/nix-instantiate/main.cc
@@ -11,7 +11,7 @@
#include "attr-path.hh"
#include "expr-to-xml.hh"
#include "util.hh"
-#include "store.hh"
+#include "store-api.hh"
#include "help.txt.hh"
@@ -137,7 +137,7 @@ void run(Strings args)
files.push_back(arg);
}
- openDB();
+ store = openStore();
if (readStdin) {
Expr e = parseStdin(state);