!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

409 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
7 Dec 2025
@thubrecht:matrix.orgthubrecht https://gerrit.lix.systems/c/lix/+/4679/16/misc/nixpkgs-lib-tests.patch this makes the tests behave correctly btw @xokdvium:matrix.org 22:38:46
8 Dec 2025
@jade_:matrix.orgjade_I told the people implementing fixing this to set NIX_CONFIG to make it use the new functionality and deprecate the weird environment variable O_o00:02:03
@jade_:matrix.orgjade_confused00:02:09
@jade_:matrix.orgjade_oh they snuck more legacy nonsense into there00:02:55
@jade_:matrix.orgjade_agh00:02:56
@thubrecht:matrix.orgthubrechtI sent https://github.com/NixOS/nixpkgs/pull/46890108:43:53
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pinghttps://git.lix.systems/lix-project/lix/issues/85 could someone check if this is still an issue, don't have capacities to do that myself18:59:00
@raitobezarius:matrix.orgraitobezariusexport is very likely to be still stupid about memory consumption22:46:09
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) nar ls/nar cat is too, but that's not widely used at all 23:22:42
10 Dec 2025
@mzerodev:matrix.orgZoe ZRedacted or Malformed Event01:50:58
@goldstein:tty5.devgoldstein hi! I’m trying to add a functional test for my patch, but a couple of those seem to be failing even on main, e.g. tarball (fails with line 37: TMPDIR: unbound variable) and bash-profile (fails with ../../scripts/nix-profile.sh.in: No such file or directory). do I need to do something special to set them up other than just build install test?.. 13:18:34
@just1602:systemli.orgjust1602 @raitobezarius:matrix.org: do you think you could kick CI on CL 4761? 13:22:19
@piegames:flausch.socialpiegames Charles: I've heard you have opinions on Rust parser libraries? 14:36:01
@piegames:flausch.socialpiegamesAsking for the eventual Lix parser rewrite14:36:12
@piegames:flausch.socialpiegamesMain criteria are maximum performance and good error handling, with support for multiple errors but no full-blown error recovery14:36:53
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping
In reply to @goldstein:tty5.dev
hi! I’m trying to add a functional test for my patch, but a couple of those seem to be failing even on main, e.g. tarball (fails with line 37: TMPDIR: unbound variable) and bash-profile (fails with ../../scripts/nix-profile.sh.in: No such file or directory). do I need to do something special to set them up other than just build install test?..

That is sadly a known bug, you must have it set in your shell env, though dont remember to what value...

Something something functional2 will fix this

14:56:11
@goldstein:tty5.devgoldstein
In reply to @commentator2.0:elia.garden

That is sadly a known bug, you must have it set in your shell env, though dont remember to what value...

Something something functional2 will fix this

okay, thanks. it passes in CI, so ig I’ll just ignore it for now
14:56:49
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping
In reply to @goldstein:tty5.dev
okay, thanks. it passes in CI, so ig I’ll just ignore it for now
Yep, thats what i did... I think a just setup might fix it but don't remember tbh
14:58:25
@charles:computer.surgeryCharlesi like parser combinators, chumsky is neat but its cool features (zero copy parsing) are only on unstable releases and its development has been slow lately, winnow is also good (i haven't actually tried winnow, but i have tried nom, which is what it forked from; winnow mainly just adds some extra stuff like span tracking for errors)15:21:47
@charles:computer.surgeryCharlesthere's a somewhat related library called ariadne which can generate very pretty error messages for parsing errors15:23:04
@crop_tech:matrix.orgcrop
In reply to @charles:computer.surgery
i like parser combinators, chumsky is neat but its cool features (zero copy parsing) are only on unstable releases and its development has been slow lately, winnow is also good (i haven't actually tried winnow, but i have tried nom, which is what it forked from; winnow mainly just adds some extra stuff like span tracking for errors)
I heared positive things about winnow. But also didn't use it myself
15:25:14
@kloenk:kloenk.eukloenkalso do quite a bit of parser dev currently for a project :) decided against chumsky as I also wanted to have the possibility to add a lsp and formatter later. Currently using ariadne as well for error reporting. did consider looking at miette (miette has a magic flag to create screen reader friendly output)15:32:11
@piegames:flausch.socialpiegamesYeah I've heard that of miette, which is really nice15:32:43
@piegames:flausch.socialpiegamesThough on a first glance the ariadne API seems a lot simpler15:32:55
@charles:computer.surgeryCharleshmm what about chumsky precludes its use for LSPs and formatters?15:34:30
@kloenk:kloenk.eukloenkmy want for a lossless syntax tree. Chumsky apparently can somehow integrate into rowan, but found it so painful that I decided to use logos and do it with only logos15:35:09
@charles:computer.surgeryCharlesoh right yeah i forgot to mention rowan exists15:35:29
@kloenk:kloenk.eukloenkyeah that is true. and apparently they have a todo for screen reader output so maybe at some point15:35:52
@piegames:flausch.socialpiegamesFor lix performance will be key and everything else will require a secondary parser. Maybe even error handling will get a secondary parser15:35:59
@piegames:flausch.socialpiegames
In reply to @kloenk:kloenk.eu
my want for a lossless syntax tree. Chumsky apparently can somehow integrate into rowan, but found it so painful that I decided to use logos and do it with only logos
With lossless syntax tree you mean CST?
15:36:19

Show newer messages


Back to Room ListRoom Version: 10