2012-07-18 18:59:03 +00:00
|
|
|
#pragma once
|
2006-07-26 15:05:15 +00:00
|
|
|
|
2010-10-04 17:55:38 +00:00
|
|
|
#include "eval.hh"
|
|
|
|
|
2006-07-26 15:05:15 +00:00
|
|
|
#include <string>
|
|
|
|
#include <map>
|
2019-10-23 15:21:10 +00:00
|
|
|
#include <tuple>
|
2006-07-26 15:05:15 +00:00
|
|
|
|
2006-09-04 21:06:23 +00:00
|
|
|
namespace nix {
|
|
|
|
|
2013-09-03 13:17:51 +00:00
|
|
|
Value * findAlongAttrPath(EvalState & state, const string & attrPath,
|
|
|
|
Bindings & autoArgs, Value & vIn);
|
2006-07-26 15:05:15 +00:00
|
|
|
|
2019-10-23 15:21:10 +00:00
|
|
|
/* Heuristic to find the filename and lineno or a derivation. */
|
|
|
|
std::tuple<std::string, int> findDerivationFilename(EvalState & state,
|
|
|
|
Value & v, std::string what);
|
|
|
|
|
2006-09-04 21:06:23 +00:00
|
|
|
}
|