1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 09:49:36 +01:00

No more globals.hh in headers

This is needed to rearrange include order, but I also think it is a good
thing anyways, as we seek to reduce the use of global settings variables
over time.
This commit is contained in:
John Ericson 2025-08-19 18:25:26 -04:00
parent bce29ab2cf
commit 52212635db
46 changed files with 120 additions and 13 deletions

View file

@ -86,6 +86,11 @@ ref<Store> LocalStore::Config::openStore() const
return make_ref<LocalStore>(ref{shared_from_this()});
}
bool LocalStoreConfig::getDefaultRequireSigs()
{
return settings.requireSigs;
}
struct LocalStore::State::Stmts
{
/* Some precompiled SQLite statements. */