mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
Merge pull request #12789 from DeterminateSystems/nix-daemon-no-store
nix daemon: Don't open the store
This commit is contained in:
commit
1cfbd489f5
1 changed files with 2 additions and 2 deletions
|
@ -546,7 +546,7 @@ static int main_nix_daemon(int argc, char * * argv)
|
||||||
|
|
||||||
static RegisterLegacyCommand r_nix_daemon("nix-daemon", main_nix_daemon);
|
static RegisterLegacyCommand r_nix_daemon("nix-daemon", main_nix_daemon);
|
||||||
|
|
||||||
struct CmdDaemon : StoreCommand
|
struct CmdDaemon : Command
|
||||||
{
|
{
|
||||||
bool stdio = false;
|
bool stdio = false;
|
||||||
std::optional<TrustedFlag> isTrustedOpt = std::nullopt;
|
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);
|
runDaemon(stdio, isTrustedOpt, processOps);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue