[Nix-dev] NixON initiative
zimbatm
zimbatm at zimbatm.com
Sun Feb 28 17:44:26 CET 2016
So something like that ? https://github.com/NixOS/nixpkgs/pull/13552
And then we would convert all of our tooling to output JSON ?
On Sun, 28 Feb 2016 at 16:43 Anand Patil <anand.prabhakar.patil at gmail.com>
wrote:
> You could interpret {path: "/a/b/c"} as a path literal.
>
> On Sun, Feb 28, 2016, 11:06 AM zimbatm <zimbatm at zimbatm.com> wrote:
>
>> 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 <contact at jeaye.com> 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
>>> nix-dev at lists.science.uu.nl
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>>
>> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160228/4fa8a7b5/attachment-0001.html
More information about the nix-dev
mailing list