#pragma once #include "eval.hh" #include #include namespace nix { MakeError(AttrPathNotFound, Error); MakeError(NoPositionInfo, Error); std::pair findAlongAttrPath( EvalState & state, const std::string & attrPath, Bindings & autoArgs, Value & vIn); /* Heuristic to find the filename and lineno or a nix value. */ Pos findPackageFilename(EvalState & state, Value & v, std::string what); std::vector parseAttrPath(EvalState & state, std::string_view s); }