2017-10-24 10:45:11 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "args.hh"
|
|
|
|
|
|
|
|
namespace nix {
|
|
|
|
|
|
|
|
class Store;
|
|
|
|
class EvalState;
|
2017-11-01 20:32:30 +00:00
|
|
|
class Bindings;
|
2017-10-24 10:45:11 +00:00
|
|
|
|
|
|
|
struct MixEvalArgs : virtual Args
|
|
|
|
{
|
|
|
|
MixEvalArgs();
|
|
|
|
|
|
|
|
Bindings * getAutoArgs(EvalState & state);
|
|
|
|
|
|
|
|
Strings searchPath;
|
|
|
|
|
2021-07-15 12:28:33 +00:00
|
|
|
std::optional<std::string> evalStoreUrl;
|
2017-10-24 10:45:11 +00:00
|
|
|
|
2021-07-15 12:28:33 +00:00
|
|
|
private:
|
2017-10-24 10:45:11 +00:00
|
|
|
std::map<std::string, std::string> autoArgs;
|
|
|
|
};
|
|
|
|
|
|
|
|
Path lookupFileArg(EvalState & state, string s);
|
|
|
|
|
|
|
|
}
|