forked from lix-project/lix
9638f3f393
foo.nix -A attr --arg name value" will work if (name, value) is needed in the evaluation leading up to "attr".
15 lines
237 B
C++
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 */
|