1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00

Merge pull request #12789 from DeterminateSystems/nix-daemon-no-store

nix daemon: Don't open the store
This commit is contained in:
John Ericson 2025-03-28 20:01:11 -04:00 committed by GitHub
commit 1cfbd489f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -546,7 +546,7 @@ static int main_nix_daemon(int argc, char * * argv)
static RegisterLegacyCommand r_nix_daemon("nix-daemon", main_nix_daemon);
struct CmdDaemon : StoreCommand
struct CmdDaemon : Command
{
bool stdio = false;
std::optional<TrustedFlag> isTrustedOpt = std::nullopt;
@ -615,7 +615,7 @@ struct CmdDaemon : StoreCommand
;
}
void run(ref<Store> store) override
void run() override
{
runDaemon(stdio, isTrustedOpt, processOps);
}