about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/common-eval-args.hh
blob: be7126c039df688bf9fd90807f8856b41af0a55f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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