Hi everyone, These are great changes, but I would like to note that having a stable machine-readable output format for nix-prefetch-git would be very helpful. I frequently use that command in scripts, and the recent changes have caused some breakage. Of course, Nix makes that breakage pretty easy to deal with, which is very nice!
Regards, Ryan On Thu, Mar 3, 2016 at 7:39 PM, Shea Levy <[email protected]> wrote: > On 2016-03-03 19:34, Profpatsch wrote: > > On 16-02-28 04:44pm, zimbatm wrote: > >> So something like that ? https://github.com/NixOS/nixpkgs/pull/13552 > >> And then we would convert all of our tooling to output JSON ? > > > > As long as nixexprs embedded in the JSON are *not* evaluated in any > > way, > > we are fine. > > > > Think of > > > > { > > "hello" = "{ foo = (abort \"ooooops\"); }" > > } > > > > And no, please noone think this is a good idea and we should support > > that. > > Nope, the JSON parsing builtin just treats everything as plain old > data. > _______________________________________________ > 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
