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.pa...@gmail.com> wrote: > You could interpret {path: "/a/b/c"} as a path literal. > > On Sun, Feb 28, 2016, 11:06 AM zimbatm <zimb...@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 <cont...@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@lists.science.uu.nl >>> http://lists.science.uu.nl/mailman/listinfo/nix-dev >>> >> _______________________________________________ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev >
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev