From b1e512e0222e0150e78cda8bea4d43763cfdca63 Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Sat, 15 Jul 2023 21:05:22 +0200 Subject: [PATCH] Open the default store, not `auto` (#71) --- attic/src/nix_store/bindings/nix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attic/src/nix_store/bindings/nix.cpp b/attic/src/nix_store/bindings/nix.cpp index 6c886fd..59ab3ad 100644 --- a/attic/src/nix_store/bindings/nix.cpp +++ b/attic/src/nix_store/bindings/nix.cpp @@ -92,7 +92,7 @@ CNixStore::CNixStore() { g_init_nix_done = true; } - this->store = nix::openStore("auto", params); + this->store = nix::openStore(nix::settings.storeUri.get(), params); } RString CNixStore::store_dir() {