mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
* `nix-instantiate ... --arg NAME VALUE': allow arguments to be passed
to functions from the command line. * nix-build: started removing backticks.
This commit is contained in:
parent
c11839d7b2
commit
4661282fde
8 changed files with 58 additions and 32 deletions
|
@ -33,7 +33,7 @@ Expr findAlongAttrPath(EvalState & state, const string & attrPath, Expr e)
|
|||
if (string2Int(attr, attrIndex)) apType = apIndex;
|
||||
|
||||
/* Evaluate the expression. */
|
||||
e = evalExpr(state, autoCallFunction(evalExpr(state, e)));
|
||||
e = evalExpr(state, autoCallFunction(evalExpr(state, e), ATermMap(1)));
|
||||
|
||||
/* It should evaluate to either an attribute set or an
|
||||
expression, according to what is specified in the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue