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:
parent
3d9de41a5b
commit
2ff3035cf4
6 changed files with 13 additions and 12 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue