tvl-depot/third_party/nix/src/libexpr/common-eval-args.hh
Vincent Ambo 3652326ed2 refactor(3p/nix): Anchor local includes at src/
Previously all includes were anchored in one global mess of header
files. This moves the includes into filesystem "namespaces" (if you
will) for each sub-package of Nix.

Note: This commit does not introduce the relevant build system changes.
2020-05-27 21:56:34 +01:00

24 lines
362 B
C++

#pragma once
#include "libutil/args.hh"
namespace nix {
class Store;
class EvalState;
class Bindings;
struct MixEvalArgs : virtual Args {
MixEvalArgs();
Bindings* getAutoArgs(EvalState& state);
Strings searchPath;
private:
std::map<std::string, std::string> autoArgs;
};
Path lookupFileArg(EvalState& state, std::string s);
} // namespace nix