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

Go to the source code of this file.

Functions

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

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.