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.
24 lines
362 B
C++
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
|