1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 23:28:26 -04:00
nix/src/libexpr/attr-path.hh

19 lines
385 B
C++
Raw Normal View History

#pragma once
#include "eval.hh"
#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);
}