Merge pull request #12789 from DeterminateSystems/nix-daemon-no-store
nix daemon: Don't open the store
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user