Nix  2.93.0-dev
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#include <map>
8
9namespace nix {
10
11MakeError(AttrPathNotFound, Error);
12MakeError(NoPositionInfo, Error);
13
14std::pair<Value *, PosIdx> findAlongAttrPath(
15 EvalState & state,
16 const std::string & attrPath,
17 Bindings & autoArgs,
18 Value & vIn);
19
23std::pair<SourcePath, uint32_t> findPackageFilename(EvalState & state, Value & v, std::string what);
24
31std::vector<std::string> parseAttrPath(std::string_view const s);
32
37std::string unparseAttrPath(std::vector<std::string> const & attrPath);
38
39}