aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/common-eval-args.hh
blob: 0e113fff1d0286b350e3af3df921685ac5c3b2d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once

#include "args.hh"

namespace nix {

class Store;
class EvalState;
class Bindings;

struct MixEvalArgs : virtual Args
{
    MixEvalArgs();

    Bindings * getAutoArgs(EvalState & state);

    Strings searchPath;

    std::optional<std::string> evalStoreUrl;

private:
    std::map<std::string, std::string> autoArgs;
};

Path lookupFileArg(EvalState & state, string s);

}