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

Support --eval-store in nix-instantiate and nix-build

This commit is contained in:
Eelco Dolstra 2021-07-15 14:28:33 +02:00
parent 3d9de41a5b
commit 2ff3035cf4
6 changed files with 13 additions and 12 deletions

View file

@ -61,6 +61,14 @@ MixEvalArgs::MixEvalArgs()
fetchers::overrideRegistry(from.input, to.input, extraAttrs);
}}
});
addFlag({
.longName = "eval-store",
.description = "The Nix store to use for evaluations.",
.category = category,
.labels = {"store-url"},
.handler = {&evalStoreUrl},
});
}
Bindings * MixEvalArgs::getAutoArgs(EvalState & state)