about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/common-eval-args.hh
#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