mirror of
https://github.com/NixOS/nix.git
synced 2025-11-16 07:22:43 +01:00
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 9bcb4d2dd9. So let's get rid of
it.
This commit is contained in:
parent
9c5a8e9352
commit
78eed85ba3
1 changed files with 0 additions and 1 deletions
|
|
@ -110,7 +110,6 @@ LocalStore::LocalStore(
|
||||||
, schemaPath(dbDir + "/schema")
|
, schemaPath(dbDir + "/schema")
|
||||||
, tempRootsDir(stateDir + "/temproots")
|
, tempRootsDir(stateDir + "/temproots")
|
||||||
, fnTempRoots(fmt("%s/%d", tempRootsDir, getpid()))
|
, fnTempRoots(fmt("%s/%d", tempRootsDir, getpid()))
|
||||||
, locksHeld(tokenizeString<PathSet>(getEnv("NIX_HELD_LOCKS").value_or("")))
|
|
||||||
{
|
{
|
||||||
auto state(_state.lock());
|
auto state(_state.lock());
|
||||||
state->stmts = std::make_unique<State::Stmts>();
|
state->stmts = std::make_unique<State::Stmts>();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue