!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
26 Aug 2025
@qyriad:katesiria.orgQyriadoh wait is it just in the docs?16:45:17
@raitobezarius:matrix.orgraitobezariusYep17:08:19
27 Aug 2025
@cirius-go:matrix.orgTran Minh Hieu joined the room.02:45:11
@crop_tech:matrix.orgcrop joined the room.21:00:47
28 Aug 2025
@just1602:systemli.orgjust1602I gave it a shot and bump nixpkgs to 25.05 for the lix 2.92 branch: https://gerrit.lix.systems/c/lix/+/412004:02:45
@just1602:systemli.orgjust1602I hope it's gonna help until we get renovate to do all the heavy lifting for us :D04:03:33
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) So on 2.93.3 when I do nix flake metadata path:%00 it starts gobbling up all RAM. 10:06:35
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)For context, I was doing URL cleanups in CppNix and added validation code for this sort of thing. That seems to be fucked everywhere. Percent encoded NUL bytes are a menace10:08:24
@helle:tacobelllabs.nethelle (just a stray cat girl)nul bytes in general are a menace, ouch10:09:16
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)I wonder what lix is doing here to gobble up gigabytes of ram in seconds10:09:39
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Nix just crashes with a stack overflow10:09:54
@helle:tacobelllabs.nethelle (just a stray cat girl)I have my suspicions10:10:01
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Coroutine stack frames it seems10:11:12
@helle:tacobelllabs.nethelle (just a stray cat girl)either stack or indefinitely growing the output array due to a lack of correct termination of the decode10:11:43
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Hm yeah seems to be growing a std::string in list called from dumpSingle 10:19:00
@piegames:flausch.socialpiegames
In reply to @xokdvium:matrix.org
For context, I was doing URL cleanups in CppNix and added validation code for this sort of thing. That seems to be fucked everywhere. Percent encoded NUL bytes are a menace
What the hell even is this percent encoding 👀
13:01:27
@piegames:flausch.socialpiegamesOh wait that's an URL encoding13:31:01
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @piegames:flausch.social
Oh wait that's an URL encoding
tomayto, tomahto
13:34:30
@piegames:flausch.socialpiegames Dunno, it's just that I forgot Nix uses URLs for Flakes here, so I was bracing for yet another ad-hoc escaping mechanism (the ones within the language are not well designed) 13:39:02
@aloisw:julia0815.dealoiswThere are also other places where shitty URL parsers that don't handle percent-encoding properly are used, for example the remote builders.15:22:44
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)In lix maybe, don't imagine this code was touched much since 2.1816:10:24
@aloisw:julia0815.dealoiswAre you saying this is fixed in nix?16:48:32
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Not entirely, but it's starting to look less scuffed now. Final beast to defeat is the invalid %2F decoding into /, which completely changes the meaning of flake references. 16:54:37
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)That stuff should round-trip, but doesn't16:55:27
@noob_tea:matrix.orgteahttps://github.com/NixOS/nix/pull/13708 has pretty neat performance gains, not sure about the tradeoffs involved.17:58:43
@charles:computer.surgeryCharles changed their profile picture.17:59:27
@jade_:matrix.orgjade_this is plausibly safe. Let me file a ticket22:57:17
@jade_:matrix.orgjade_https://git.lix.systems/lix-project/lix/issues/98322:58:39
29 Aug 2025
@charles:computer.surgeryCharles changed their profile picture.19:12:26
30 Aug 2025
@522_:catgirl.cloud522 it/its ⛯ΘΔ changed their display name from 522 [it/its][ΘΔ] to 522 it/its ⛯ΘΔ.14:10:43

Show newer messages


Back to Room ListRoom Version: 10