about summary refs log tree commit diff
path: root/src/libexpr/attr-path.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-08-23T16·20+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-08-23T16·20+0000
commit9638f3f3930bffab8a547ec59502ae72e203d9ff (patch)
tree1eff6f713e9ff4e90e04e098b158f110b7adc696 /src/libexpr/attr-path.hh
parentb19cebc513c2d513ee1f91b5ce12f30c5dd095f2 (diff)
* 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".

Diffstat (limited to 'src/libexpr/attr-path.hh')
-rw-r--r--src/libexpr/attr-path.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libexpr/attr-path.hh b/src/libexpr/attr-path.hh
index f64ef7a7cd..0797ecc582 100644
--- a/src/libexpr/attr-path.hh
+++ b/src/libexpr/attr-path.hh
@@ -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 */