libexpr: findDerivationFilename return Pos instead of tuple
This commit is contained in:
@@ -4,15 +4,13 @@
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <tuple>
|
||||
|
||||
namespace nix {
|
||||
|
||||
Value * findAlongAttrPath(EvalState & state, const string & attrPath,
|
||||
Bindings & autoArgs, Value & vIn);
|
||||
|
||||
/* Heuristic to find the filename and lineno or a derivation. */
|
||||
std::tuple<std::string, int> findDerivationFilename(EvalState & state,
|
||||
Value & v, std::string what);
|
||||
/* Heuristic to find the filename and lineno or a nix value. */
|
||||
Pos findDerivationFilename(EvalState & state, Value & v, std::string what);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user