aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/attr-path.hh
blob: 716e5ba274641f826a9a657bb6563b6116a8c1df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include "eval.hh"

#include <string>
#include <map>

namespace nix {

Value * findAlongAttrPath(EvalState & state, const string & attrPath,
    Bindings & autoArgs, Value & vIn);

/* Heuristic to find the filename and lineno or a nix value. */
Pos findDerivationFilename(EvalState & state, Value & v, std::string what);

}