!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
17 Dec 2025
@piegames:flausch.socialpiegamesI'm leaning towards something CST-like because I imagine sooner or later someone will want to implement code manipulation on it22:36:31
@piegames:flausch.socialpiegamesI haven't used Rowan yet, so no clue how well it is even fit for that22:39:56
@piegames:flausch.socialpiegamesAlso it's generally weird to recycle the tree data structures from a parser framework but then not use the actual parser it provides ^^22:40:22
@kloenk:kloenk.eukloenk Which parser do you mean? Dont think rowan has a parser? At least did not find one 22:42:04
@kloenk:kloenk.eukloenkRedacted or Malformed Event22:42:39
@piegames:flausch.socialpiegameseh, I meant if I reused the rnix-parser AST which uses rowan22:45:55
@piegames:flausch.socialpiegameswhich I might do at least for getting headstart22:46:05
@kloenk:kloenk.eukloenk Ah that way. Yeah good question then. Did not look into rnix-parser yet. Could still make sense to define all the types, not sure how well they are in there 22:46:52
@rosssmyth:matrix.orgrosssmythAnother option from rowan is cstree 22:48:39
@rosssmyth:matrix.orgrosssmythor syntree22:49:39
18 Dec 2025
@helle:tacobelllabs.nethelle (just a stray cat girl)

do love that the builtins fetchTarball (well, lix/libfetchers/tarball.cc technically) just forces single directory in root still, I mean fetchzip in nixpkgs specifically works around this issue it looks like, but it feels so pointless, especially as it does accept some other options and then that is hardcoded

(for tarballs this is convention, but fetchTarball due to use of libarchive will happily work on zips, isos, etc)

11:16:01
@helle:tacobelllabs.nethelle (just a stray cat girl)(hrm, would this be a performance and space enhancement for nixpkgs as it means they can benefit from streaming unpack that lix does?)11:18:01
@helle:tacobelllabs.nethelle (just a stray cat girl)(don't know more how it is implemented under the hood, brain too frizzly to look into that)11:18:16
@kloenk:kloenk.eukloenk I did a CL to change that a year or so ago. But it got vetoed against it 11:22:43
@helle:tacobelllabs.nethelle (just a stray cat girl)oh, meh11:23:33
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping-1 or -2? the first one is more of a "execution is meh, idea is great" and can get accepted with some rework, -2 though...11:24:08
@kloenk:kloenk.eukloenkIIRC just a comment that someone was against it. At that time did not really had motivation for any form of discussion and basically just abandoned it11:25:08
@kloenk:kloenk.eukloenk Will search for it later 11:25:12
@helle:tacobelllabs.nethelle (just a stray cat girl)I think if it is possible to do in such a way that nixpkgs can change it's definition to automatically benefit from it, without breaking cppnix compatibility (not sure if possible), it would be useful, otherwise, it's just for people like me who want to be able to do silly things without bringing in extra layers, or all of nixpkgs11:25:11
@helle:tacobelllabs.nethelle (just a stray cat girl)yeah, sounds like it is probably something to bring up again11:25:25
@helle:tacobelllabs.nethelle (just a stray cat girl)like I am doing silliness, but it also seems actually a thing that could work for nixpkgs and for anyone else implementing stuff outside of nixpkgs11:25:58
@kloenk:kloenk.eukloenkwas only even a slighlty hesitant. but as it was chain for the gerrit libfetcher I then did not do anything else and as nothing happened I just abandond it like half a year later https://gerrit.lix.systems/c/lix/+/167211:29:13
@helle:tacobelllabs.nethelle (just a stray cat girl)if I have some spoons I may go over it11:29:37
@kloenk:kloenk.eukloenknice, not sure when I would have time to rebase it (merge conflicts and such). might try this weekend11:30:31
@helle:tacobelllabs.nethelle (just a stray cat girl)it may be sensible to see if this indeed would be compatible with a nixpkgs patch though, that part I do not have the brain power for rn, that would be a direct strong reason for it11:31:19
@kloenk:kloenk.eukloenkyeah, don't have time to look into that currently. also libfetcher is also for flake which nixpkgs could not change?11:32:44
@helle:tacobelllabs.nethelle (just a stray cat girl)erm, libfetcher is all fetchers, regardless of flake or not11:33:04
@kloenk:kloenk.eukloenkrestored the CL for now, but with being afk for most of the rest of this year not sure when I can look more into it11:33:46
@helle:tacobelllabs.nethelle (just a stray cat girl)yeah, I mean this may end up being well into januari can you tag me on it, so I get it in my gerrit panel11:34:10
@helle:tacobelllabs.nethelle (just a stray cat girl)(can't right now quickly)11:34:15

Show newer messages


Back to Room ListRoom Version: 10