lix/src/libexpr/attr-path.hh
Eelco Dolstra 9638f3f393 * Pass the autoArgs to findAlongAttrPath so that "nix-instantiate
foo.nix -A attr --arg name value" will work if (name, value) is
  needed in the evaluation leading up to "attr".
2006-08-23 16:20:14 +00:00

15 lines
237 B
C++

#ifndef __ATTR_PATH_H
#define __ATTR_PATH_H
#include <string>
#include <map>
#include "eval.hh"
Expr findAlongAttrPath(EvalState & state, const string & attrPath,
const ATermMap & autoArgs, Expr e);
#endif /* !__ATTR_PATH_H */