[Nix-dev] Nix syntax surprise.
Guillaume Maudoux (Layus)
layus.on at gmail.com
Fri Jun 24 11:58:31 CEST 2016
Hi,
Does someone understand why the following nix expression is invalid ?
|[ let a = 10; in { b = "a = ${a}"; } ] |
Running |nix-instantiate --eval ./bug.nix --strict| gives |error: syntax
error, unexpected ID, expecting '{', at /home/layus/bug.nix:3:5|.
The manual says nothing about this in the “let expressions” section.
Thanks for any pointer,
— Layus.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160624/0932ec4c/attachment.html>
More information about the nix-dev
mailing list