1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 00:11:17 +02:00

* 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".
This commit is contained in:
Eelco Dolstra 2006-08-23 16:20:14 +00:00
parent b19cebc513
commit 9638f3f393
3 changed files with 11 additions and 7 deletions

View file

@ -7,7 +7,8 @@
#include "eval.hh"
Expr findAlongAttrPath(EvalState & state, const string & attrPath, Expr e);
Expr findAlongAttrPath(EvalState & state, const string & attrPath,
const ATermMap & autoArgs, Expr e);
#endif /* !__ATTR_PATH_H */