!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
7 Jun 2024
@jade_:matrix.orgjade_oh it's breaking in the daemon07:23:53
@jade_:matrix.orgjade_great, time to delete some exception handling from that too07:24:01
@jade_:matrix.orgjade_i want to do so many very mean things to the daemon07:28:53
@jade_:matrix.orgjade_really really need to make daemon exceptions obvious they were thrown on the daemon07:30:48
@jade_:matrix.orgjade_... what does the daemon have its stderr attached to? can it even log to system log? gods. this is so annoying07:58:53
@jade_:matrix.orgjade_image.png
Download image.png
08:06:22
@jade_:matrix.orgjade_alright i concede, the nix daemon's exception handling wins today08:06:28
@jade_:matrix.orgjade_ this is a json decode error btw 08:06:39
@jade_:matrix.orgjade_ error: (daemon error)[json.exception.type_error.302] type must be string, but is array 08:06:56
@puck:puck.moepuckhrm08:30:26
@puck:puck.moepuckthere's only like three json decodes in the daemon, right08:30:42
@jade_:matrix.orgjade_ https://git.lix.systems/jade/lix/src/branch/jade/json-bugs nix build .#dockerImage here's your repro 08:36:17
@puck:puck.moepuckokay wow09:16:10
@puck:puck.moepuckthat's. not the one i was expecting09:16:15
@puck:puck.moepuckturns out exportReferencesGraph being invalidly shaped is handled very badly09:29:43
@delroth:delroth.netdelrothand the bug in your nix code is that "deps = [ layer2Pkgs ];" should likely be "deps = layer2Pkgs;" (same with other layers) 09:32:40
@puck:puck.moepuckyup09:40:27
@jade_:matrix.orgjade_yup21:48:49
@jade_:matrix.orgjade_that's quite a bug21:48:57
@jade_:matrix.orgjade_we should probably minimize it and file it on the issue tracker, and then someone can possibly do something about it at a later date21:49:30
@puck:puck.moepucki started writing a fix and then got lighly distracted21:50:04
@jade_:matrix.orgjade_happens21:50:28
@puck:puck.moepuck
In reply to @jade_:matrix.org
error: (daemon error)[json.exception.type_error.302] type must be string, but is array
issue is the patch needs validation both where ^ is generated, and inside derivationStrict
21:51:39
@puck:puck.moepuckat least, i think it's worth "breaking langver" to disallow derivations that will instantly error if built to be crafted21:52:01
@jade_:matrix.orgjade_i concur21:52:26
@jade_:matrix.orgjade_these should not be made meme, etc etc21:52:38
@puck:puck.moepuck i mean, if you want to, you can just add __json as an attribute to a drv and do the same 21:52:41
@jade_:matrix.orgjade_ is that how we store those? holy fucik 21:52:58
@jade_:matrix.orgjade_ * is that how we store those? holy fuck 21:53:02
@jade_:matrix.orgjade_just shove some json string in there? ???21:53:13

Show newer messages


Back to Room ListRoom Version: 10