!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

You have reached the beginning of time (for this room).


SenderMessageTime
9 Oct 2024
@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
@jade_:matrix.orgjade_there is basically nothing actually conditional on flakes enabled20:59:48
@jade_:matrix.orgjade_there is "the new cli does not let you use it without nix-command enabled". but like. that's not the thing that causes flake maintenance pain at all21:00:13
@kfears:matrix.orgKFears (tragedy arc)Wait, so why have them at all?21:00:14
@jade_:matrix.orgjade_because half of the ecosystem including us depend on them21:00:29
@kfears:matrix.orgKFears (tragedy arc)Like, can't you just like say "use flake-compat" and just not do flakes?21:00:35
@jade_:matrix.orgjade_no, flake-compat is a joke21:00:42
@kfears:matrix.orgKFears (tragedy arc)Figured21:00:48
@jade_:matrix.orgjade_ it's missing a bunch of obscure features that will cause bug reports if they are missing. imo the status quo is fine except insofar as we cannot touch the flakes code safely 21:01:21
@jade_:matrix.orgjade_which does suck, but there is so much else to do21:01:46
@jade_:matrix.orgjade_flakes, in spite of being extremely broken, are merely an entry point into the other 90% of lix that is also very busted and in ways that actually matter to large scale usage and overall maintainability much more21:02:27
@jade_:matrix.orgjade_we can leave flakes in amber and still have plenty of useful things to do21:02:35
@kfears:matrix.orgKFears (tragedy arc)Hopefully some path forward will appear once "everything else" is done21:03:06
@kfears:matrix.orgKFears (tragedy arc)My condolences for having to work on all of this21:03:24
@kfears:matrix.orgKFears (tragedy arc)It sounds like the legacy codebase from hell, straight up21:03:45
@jade_:matrix.orgjade_i also hate that in spite of being an absolute mess, flakes are a moving target in cppnix and continue to gain more features while simultaneously being unmaintainable.21:08:21
@jade_:matrix.orgjade_https://git.lix.systems/lix-project/lix/src/370ac940dd7816ad4052fafa4e0f8d17784fa16b/src/libfetchers/fetchers.cc#L135-L148 type of compat code21:08:45
@kfears:matrix.orgKFears (tragedy arc)
In reply to @jade_:matrix.org
https://git.lix.systems/lix-project/lix/src/370ac940dd7816ad4052fafa4e0f8d17784fa16b/src/libfetchers/fetchers.cc#L135-L148 type of compat code
That doesn't seem too bad
21:21:31
@jade_:matrix.orgjade_no, it is ridiculous actually21:21:43
@jade_:matrix.orgjade_it is that a test is relying on our stderr output21:21:48

Show newer messages


Back to Room ListRoom Version: 10