But we wouldn’t have the path type in JSON anymore ! Hmm maybe that’s a
good thing actually :p

importJSON = path: builtins.fromJSON (builtins.readFile path);

​

On Sun, 28 Feb 2016 at 15:37 jeaye <[email protected]> wrote:

> On Sun, Feb 28, 2016 at 03:11:15PM +0000, Anand Patil wrote:
> > What about using some kind of JSON notation for this? There are some
> > mismatches between JSON and Nix primitives; but on the other hand JSON is
> > easy to parse and generate from every language, and many people are
> > familiar with it.
>
> I wholeheartedly concur; please don't make another JSON-like format.
> JSON is so well supported in so many languages and, I believe, it does
> everything we'd need.
> _______________________________________________
> nix-dev mailing list
> [email protected]
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to