1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 20:01:15 +02:00

* Okay, that's a bit harder than expected.

This commit is contained in:
Eelco Dolstra 2006-08-30 13:10:04 +00:00
parent dce1afdc67
commit f93f7b75be
3 changed files with 19 additions and 9 deletions

View file

@ -48,8 +48,11 @@ Expr evalExpr(EvalState & state, Expr e);
Expr evalFile(EvalState & state, const Path & path);
/* Evaluate an expression, and recursively evaluate list elements and
attributes. */
Expr strictEvalExpr(EvalState & state, Expr e);
attributes. If `canonicalise' is true, we remove things like
position information and make sure that attribute sets are in
sorded order. */
Expr strictEvalExpr(EvalState & state, Expr e,
bool canonicalise = false);
/* Specific results. */
string evalString(EvalState & state, Expr e);