!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
18 Nov 2025
@raitobezarius:matrix.orgraitobezariusi don't see you owner of the parser though i think?20:01:56
@raitobezarius:matrix.orgraitobezariusah yes20:02:01
@raitobezarius:matrix.orgraitobezarius"some of the files"20:02:03
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pinghttps://gerrit.lix.systems/c/lix/+/460820:05:12
@raitobezarius:matrix.orgraitobezarius+2ed20:05:44
@jopejoe1:matrix.orgjopejoe1 (4094@39c3) changed their display name from jopejoe1 to jopejoe1 (4094@39c3).20:18:52
19 Nov 2025
@mzerodev:matrix.orgZoe Z joined the room.20:52:22
@rv32ima:envs.netellie joined the room.23:10:59
20 Nov 2025
@edef1c:matrix.orgedef joined the room.01:32:40
@just1602:systemli.orgjust1602In the lix codebase, what is the best way to print a compile time warning?15:19:35
@qyriad:katesiria.orgQyriad just1602  printTaggedWarning or printWarning 15:50:28
@just1602:systemli.orgjust1602 But they only show up at runtime, and not at compile time. At least when I do just build I don't see those warning show up in the build log. 15:57:02
@qyriad:katesiria.orgQyriad oh you mean compilation of Lix itself? 16:09:19
@qyriad:katesiria.orgQyriad well there's #pragma warning, but for anything more complex you'll have to write a clang-tidy lint. luckily there are already clang-tidy lints in the codebase you can look at 16:10:09
@just1602:systemli.orgjust1602 I'll try #pragma warning, it's just for a one off. It's we print a deprecation warning at runtime, and eldritch horrors want a compile time warning when we hit the version we target for the removal 16:12:30
@just1602:systemli.orgjust1602 Qyriad: ok, #pragma message seems to do what I was looking for, #pragma warning was just giving an error that warning wasn't a valid pragma instead of displaying the text 16:18:24
@just1602:systemli.orgjust1602 Now I just need to know that is the value format of LIX_MAJOR to be able to do # if LIX_MAJOR >= 2.96 ? :D 16:18:59
@just1602:systemli.orgjust1602Is it 2_96, 296, some other format?16:19:23
@qyriad:katesiria.orgQyriad LIX_MAJOR is 2, LIX_MINOR is 96 16:37:43
@just1602:systemli.orgjust1602Ugh, ahahha, thanks and sorry for bothering I fill bad about this one 😅17:54:39
@Ericson2314:matrix.orgJohn EricsonOK I guess I did not announce this very clearly :)20:01:00
@Ericson2314:matrix.orgJohn Ericson (Sergei Zimmerman (xokdvium): informed me that at least raitobezarius did not know about our similar work to extricate flakes from the rest of the code base) 20:02:14
@Ericson2314:matrix.orgJohn Ericson * (Sergei Zimmerman (xokdvium): informed me that at least raitobezarius did not know about our similar work to extricate flakes from the rest of the code base, until Sergei Zimmerman (xokdvium) told him) 20:02:30
@Ericson2314:matrix.orgJohn Ericsonmy apopologise for not making that linked message about less opaque20:02:42
@Ericson2314:matrix.orgJohn EricsonI wanted you all to take my libexpr -> libflakes separation long ago :)20:02:57
@Ericson2314:matrix.orgJohn Ericson* OK I guess I did not announce this very clearly :(, whops!20:05:39
@just1602:systemli.orgjust1602I'm really not great at C++, but I'd be really interested to see this libexpr -> libflakes project20:52:03
@raitobezarius:matrix.orgraitobezariusThank you for the suggestion but we probably won't take it, it doesn't achieve what we want21:11:27
@raitobezarius:matrix.orgraitobezarius It's not really the important piece of the Flakes extraction project, just moving code around and exposing APIs to register certain operations that are related to Flakes in the evaluation machinery (mostly around NIX_PATH) 21:12:24
@raitobezarius:matrix.orgraitobezariusI have a tree that already finished that part, more difficult parts involves libcmd and generalizing installables21:12:49

Show newer messages


Back to Room ListRoom Version: 10