!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

434 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.142 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
19 Mar 2026
@sky1e:mildlyfunctional.gaysky1e

I noticed when hacking on lix's JSON parser that it silently accepts duplicate json object keys, throwing away all but the last one. Is this known and desired behavior? I tried making it crash instead and it seemed to still pass all of the tests, so this behavior isn't being tested for.
nix eval --expr 'builtins.fromJSON '"''"'{"a":"a","a":"b"}'"''"

{ a = "b"; }

23:17:47

Show newer messages


Back to Room ListRoom Version: 10