!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
18 Dec 2025
@helle:tacobelllabs.nethelle (just a stray cat girl)I do like the idea of somehow making libfetchers non-blocking, but uh, rearchitecturing that is going to be fun12:24:12
@kfears:matrix.orgKFears (they/them)
In reply to @helle:tacobelllabs.net
yeah, we need to fix and document a bunch of the builtins.....
I have an open (and unfinished) CL on builtin builders, want to take a look?
12:24:13
@helle:tacobelllabs.nethelle (just a stray cat girl)not at the moment, spoons low, discussing things and reading docs is doable, reading code requires keeping too much weird context12:24:54
@helle:tacobelllabs.nethelle (just a stray cat girl)yes, me reading libfetchers source was a little silly12:25:36
@helle:tacobelllabs.nethelle (just a stray cat girl)I've done sillier fixes on Lix while in a bad state honestly, but uh12:26:33
@helle:tacobelllabs.nethelle (just a stray cat girl)trivial doc fixes because I like reading how users interact with stuff, now those I can make in nearly any state12:39:00
@kloenk:kloenk.eukloenkthe let me see right now as sitting is good right now to eehh devshell needs so long pipeline :p14:09:02
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping

what exactly are these two lines testing? (i esp don't get the first one)


    nix-instantiate --strict --eval -E "!((import (fetchTree { type = \"tarball\"; url = \"file://$tarball\"; narHash = \"$hash\"; })) ? submodules)" >&2
    nix-instantiate --strict --eval -E "!((import (fetchTree { type = \"tarball\"; url = \"file://$tarball\"; narHash = \"$hash\"; })) ? submodules)" 2>&1 | grep 'true'
17:15:28
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping cc: ma27 (you added those lines) 17:18:41
@ma27:nicht-so.sexyma27don't remember adding those, but the first makes sure that there's no 'submodules' key in the attrset from the fetchtree call, no?17:21:21
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping tarball.sh lines 50 and 51
in a commit called "merge legacy fetchGit-builtin with generic fetchTree-function"
17:22:57
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pingam mostly confused as to why the stdout is piped into the stderr, when no check / grep is being done in the first place17:23:40
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping * tarball.sh lines 50 and 51
in a commit called "merge legacy fetchGit-builtin with generic fetchTree-function"
rev f7424384
17:24:10
@ma27:nicht-so.sexyma27oh no, sins from my youth🫠17:28:04
@ma27:nicht-so.sexyma27maybe it was just a debig statement to get output that I dodn't removed and passed through review?17:28:28
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pinghttps://gerrit.lix.systems/c/lix/+/4790 the complaining about TMPDIR not being set and tarball.sh failing have an end!17:49:37
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping* https://gerrit.lix.systems/c/lix/+/4790 the days of complaining about TMPDIR not being set and tarball.sh failing have an end!17:49:45
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pinghttps://buildkite.com/lix-project/lix/builds/7143/steps/canvas?jid=019b329a-3fa3-4367-a2bd-8eb464bed0fd uhhh what?18:28:12
19 Dec 2025
@kloenk:kloenk.eukloenk wonder right now if it would make sense to add default values to the get*Attr functions (lix/libfetchers/attrs.hh). Could use that for the tarball striproot CL right now 19:15:14
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pinghttps://gerrit.lix.systems/c/lix/+/4790 can we get a review20:18:21
@bakkbukdibbuk:matrix.orgBakbukdibbuk joined the room.21:28:11
20 Dec 2025
@kloenk:kloenk.eukloenk ah I blind (*noticed maybeGetBoolAttr) 09:23:37
@helle:tacobelllabs.nethelle (just a stray cat girl)I wonder if we should be aliassing it as fetchArchive but that is a further thing, it has for years supported more than just tarballs11:42:28
@helle:tacobelllabs.nethelle (just a stray cat girl)but erm open wondering, for ux sensibility and doc logic 11:43:08
@helle:tacobelllabs.nethelle (just a stray cat girl)like, this would be an alias, just because fetchTarball applied to an ISO feels like utter nonsense14:52:14
@kloenk:kloenk.eukloenk reading the lix-doc code right now out of interest. First this is technically 3 as _:3 is valid (according to the repl). But also huh funny, if I name the input it gets parsed as an invalid url (e.g. a:a or also a:3) 22:30:53
21 Dec 2025
@ma27:nicht-so.sexyma27

is something off with Lix CI currently?

Getting regularlyt errors like

error: failed to read compressed data (truncated input)

and

error: interrupted by the user
13:34:28
@raitobezarius:matrix.orgraitobezariusWhich architecture?13:36:17
@ma27:nicht-so.sexyma27 https://buildkite.com/lix-project/lix/builds/7175#019b4088-c1f5-417f-825a-a95537ac1d99 (darwin)
https://buildkite.com/lix-project/lix/builds/7175#019b4088-c22a-4aca-805f-0ca14d68a79c (probably x86_64-linux?)
13:37:01
@raitobezarius:matrix.orgraitobezariusThanks, we definitely need to investigate this13:39:11

Show newer messages


Back to Room ListRoom Version: 10