1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

Merge pull request #12792 from NixOS/mergify/bp/2.26-maintenance/pr-12789

nix daemon: Don't open the store (backport #12789)
This commit is contained in:
mergify[bot] 2025-03-29 00:16:51 +00:00 committed by GitHub
commit 004187e8cd
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);
}