!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
9 Oct 2024
@puck:puck.moepuckyou're not signed into buildbot; somehow noone bothered fixing that error, i should've really done that at some point19:07:16
@puck:puck.moepuckor, hrm19:07:47
@puck:puck.moepuckno, it's a misconfiguration of buildbot19:08:01
@puck:puck.moepuck

access-control-allow-origin: https://*.lix.systems

19:08:16
@piegames:flausch.socialpiegames CC raitobezarius, I think you were touching buildbot things recently? 19:10:59
@raitobezarius:matrix.orgraitobezariusoopsie19:12:02
@raitobezarius:matrix.orgraitobezariusyeah19:12:04
@raitobezarius:matrix.orgraitobezariuswildcards are not supported19:12:08
@jade_:matrix.orgjade_
In reply to @piegames:flausch.social
There's a CL for it I think CC @jade_:matrix.org
correct. i wonder why that has not got merged, i will have to look at it again
19:54:43
@piegames:flausch.socialpiegamescan you link to it again please? lost the link19:55:34
@jade_:matrix.orgjade_
In reply to @vigress9:matrix.org
nix-build --attr packages.x86_64-linux.default

And just setup / build / install / test both result in this

you can use --keep-failed and it will keep the build-dir that failed and give you more meson logs, but...

this is really weird that it's consistently broken on your machine and on gha and that not really anyone else seems to be hitting it

19:55:50
@kfears:matrix.orgKFears (tragedy arc)For Lix, are Flakes and 2.4 CLI still considered "experimental" features in the broad sense?20:09:08
@k900:0upti.meK900Yes20:18:22
@jade_:matrix.orgjade_in my personal opinion (not necessarily that of everyone working on lix), working on and near flakes code has made me rather strongly opposed to stabilization because the code is so fragile that it is nearly impossible to make any changes to, and without serious changes in the dynamics of how everyone deals with flake.lock files, stabilization is impossible.20:20:35
@jade_:matrix.orgjade_does this mean we will break it? no. we can't break it. we also can't change it. we can't improve it.20:21:07
@jade_:matrix.orgjade_i would have to check on our history of flake refactors and the percentage that have caused incompatibilities but it is way too high. this is in turn because the lock file code is busted, which is in turn substantially because the entire idea of a flake ref as a url with no separation of flake specific parameters from other url parameters is busted, which also infects libfetchers and fetchTree at the very foundation of flakes. cppnix wants to stabilize fetchTree and i am not sure how they propose to do that without themselves signing up for years of tears20:23:24
@jade_:matrix.orgjade_lock files have to be sufficiently specified in a vendor neutral way but also sufficiently loosely checked for equivalence that implementations are allowed to be different20:26:56
@just1602:systemli.orgjust1602Would there be a way for lix to versioned the flake spec and implementation, stay compatible with the actual state of this mess, but iterate and improve in a v2 of the spec / implementation?20:30:40
@jade_:matrix.orgjade_we have other things that are higher priority than redesigning flakes but redesigning flakes is certainly a possibility20:32:12
@jade_:matrix.orgjade_but the thing is that all of the internals are so tangled with the lock file format that you can't really change the internals without copy pasting vast amounts of code20:32:34
@jade_:matrix.orgjade_and preserving interop with cppnix20:32:41
@jade_:matrix.orgjade_just. bad. horrible. i really hate that we have to maintain flakes. it's comparatively kind of easy to prevent implementation divergence elsewhere.20:33:36
@jade_:matrix.orgjade_
In reply to @piegames:flausch.social
can you link to it again please? lost the link
https://gerrit.lix.systems/c/lix/+/2035 submimtted
20:37:36
@kfears:matrix.orgKFears (tragedy arc)
In reply to @jade_:matrix.org
does this mean we will break it? no. we can't break it. we also can't change it. we can't improve it.
So what can be done moving forward? I imagine that flakes as they are now should be, like, incompatibly rewritten into something sane, but the codebase is already very conditional on flakes-enabled vs flakes-disabled
20:58:26
@kfears:matrix.orgKFears (tragedy arc)Is it possible to throw away flakes-disabled to just have flakes-enabled as this horrible monstrosity that you try to isolate from everything else as much as possible? Or how would that work?20:59:08
@jade_:matrix.orgjade_i don't know. we can continue ignoring the issue and working on things that actually matter and leave flakes alone, which will work for at least 6 months20:59:12
@jade_:matrix.orgjade_
In reply to @kfears:matrix.org
Is it possible to throw away flakes-disabled to just have flakes-enabled as this horrible monstrosity that you try to isolate from everything else as much as possible? Or how would that work?
NO
20:59:16
@jade_:matrix.orgjade_flakes are not real and cannot hurt you20:59:27
@kfears:matrix.orgKFears (tragedy arc)So, the other way around?20:59:35
@jade_:matrix.orgjade_https://jade.fyi/blog/flakes-arent-real/20:59:37

Show newer messages


Back to Room ListRoom Version: 10