aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2023-02-03 23:33:41 +0100
committerGitHub <noreply@github.com>2023-02-03 23:33:41 +0100
commit895dfc656a21f6252ddf48df0d1f215effa04ecb (patch)
treeb3204d82442891b74d535ddeedf3fd4a113eb338
parentdbe0748f970a86911aae2cb6b603dfb8b541f8d9 (diff)
parent51013da9211b4f18ca97b7194788121c92094bb1 (diff)
Merge pull request #7705 from Ma27/fix-initNix-in-perl-bindings
perl: run `initLibStore()` on `openStore()`
-rw-r--r--perl/lib/Nix/Store.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl/lib/Nix/Store.xs b/perl/lib/Nix/Store.xs
index 54ad1680c..de91dc28d 100644
--- a/perl/lib/Nix/Store.xs
+++ b/perl/lib/Nix/Store.xs
@@ -26,6 +26,7 @@ static ref<Store> store()
static std::shared_ptr<Store> _store;
if (!_store) {
try {
+ initLibStore();
loadConfFile();
settings.lockCPU = false;
_store = openStore();