From 78eed85ba30a883d7b0c19504171e287190e24ce Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 12 Mar 2025 21:28:56 +0100 Subject: [PATCH] Remove use of $NIX_HELD_LOCKS This variable was once used to communicate already acquired store path locks between Nix and the build hook, but this hasn't been the case since 9bcb4d2dd99ba7509c27479eecf1e7ac88244fa8. So let's get rid of it. --- src/libstore/local-store.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index 67d5a1dcb..b54903432 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -110,7 +110,6 @@ LocalStore::LocalStore( , schemaPath(dbDir + "/schema") , tempRootsDir(stateDir + "/temproots") , fnTempRoots(fmt("%s/%d", tempRootsDir, getpid())) - , locksHeld(tokenizeString(getEnv("NIX_HELD_LOCKS").value_or(""))) { auto state(_state.lock()); state->stmts = std::make_unique();