Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
attr-path.hh File Reference
#include "nix/expr/eval.hh"
#include <string>
#include <map>

Go to the source code of this file.

Classes

struct  nix::AttrPath

Functions

 nix::MakeError (AttrPathNotFound, Error)
 nix::MakeError (NoPositionInfo, Error)
std::pair< Value *, PosIdx > nix::findAlongAttrPath (EvalState &state, const std::string &attrPath, const Bindings &autoArgs, Value &vIn)
std::pair< SourcePath, uint32_t > nix::findPackageFilename (EvalState &state, Value &v, std::string what)

Function Documentation

◆ findPackageFilename()

std::pair< SourcePath, uint32_t > nix::findPackageFilename ( EvalState & state,
Value & v,
std::string what )

Heuristic to find the filename and lineno or a nix value.