Marc Weber wrote:
> Example:
>   let f = x : x+"abc"; in
>   builtins.head [ f "abc" ]
> results in
> || Function1("x",OpPlus(Var("x"),Str("abc",[])),NoPos)

Syntax strikes again, that `f "abc"' should be `(f "abc")'.  Now it's parsed as
a list with two elements (f and "abc").

However, in general, if you want everything to be evaluated, you can pass
--strict to nix-instantiate to get deep evaluation of lists and attribute sets.

-- 
Eelco Dolstra | http://www.cs.uu.nl/~eelco
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to