Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
attr-path.hh
Go to the documentation of this file.
1#pragma once
3
4#include "lix/libexpr/eval.hh"
5
6#include <string>
7
8namespace nix {
9
10MakeError(AttrPathNotFound, Error);
11MakeError(NoPositionInfo, Error);
12
13std::pair<Value *, PosIdx> findAlongAttrPath(
14 EvalState & state,
15 const std::string & attrPath,
16 Bindings & autoArgs,
17 Value & vIn);
18
22std::pair<SourcePath, uint32_t> findPackageFilename(EvalState & state, Value & v, std::string what);
23
30std::vector<std::string> parseAttrPath(std::string_view const s);
31
36std::string unparseAttrPath(std::vector<std::string> const & attrPath);
37
38}
Definition attr-set.hh:48
Definition eval.hh:685
Definition value.hh:190