1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 13:41:15 +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

@ -56,14 +56,6 @@ void StoreCommand::run()
EvalCommand::EvalCommand()
{
// FIXME: move to MixEvalArgs?
addFlag({
.longName = "eval-store",
.description = "The Nix store to use for evaluations.",
.labels = {"store-url"},
//.category = ...,
.handler = {&evalStoreUrl},
});
}
EvalCommand::~EvalCommand()

View file

@ -54,8 +54,6 @@ struct EvalCommand : virtual StoreCommand, MixEvalArgs
ref<EvalState> getEvalState();
private:
std::optional<std::string> evalStoreUrl;
std::shared_ptr<Store> evalStore;
std::shared_ptr<EvalState> evalState;