[Nix-dev] How to make nix-instantiate --eval-only eval everything?

Marc Weber marco-oweber at gmx.de
Mon Jun 11 02:54:15 CEST 2007


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

whereas when omitting the list indirection I get
|| Str("abcabc",[])
as expected.

Marc



More information about the nix-dev mailing list