!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
14 Oct 2025
@emilazy:matrix.orgemily I mean that if { algo, format, digest } is considered a "first-class" thing the implementation is consuming then it doesn't seem so weird to have a built-in that converts it at that point 17:45:26
@emilazy:matrix.orgemily(the other potential use-cases like producing Nix32 filenames and converting lock file formats would remain regardless)17:45:44
@qyriad:katesiria.orgQyriad Filenames and lockfiles are a point in favor, but if the implementation consumes { algo, format, digest } in any form then you specifically wouldn't need to convert between them, no? 17:46:54
@emilazy:matrix.orgemily I am not saying that you would need to convert them to pass them to a FOD fetcher. I'm saying that if the objection to a convertHash is "this is doing too much because these structured hashes aren't really a first-class implementation concept", but then you add support for structured hashes to FODs, then they are a first-class implementation concept and it doesn't seem too weird to have a conversion built-in for them. 17:50:30
@emilazy:matrix.orgemily(and then that conversion built-in would be useful for the other use caess)17:50:41
@qyriad:katesiria.orgQyriadAhh18:00:08
* @qyriad:katesiria.orgQyriad nods18:00:10
@emilazy:matrix.orgemilyis there actually a reliable way to feature detect NULs in strings currently?19:29:19
@emilazy:matrix.orgemilyeverything I can think of would abort in current Nix versions19:29:33
@jade_:matrix.orgjade_sounds like we need builtins.features real bad?19:39:21
@emilazy:matrix.orgemilyit could just be a boolean19:40:30
@raitobezarius:matrix.orgraitobezarius detect NULs in a string OR detect NUL support in strings? 19:40:37
@emilazy:matrix.orgemily builtins.nulBytesInStrings or false 19:40:39
@jade_:matrix.orgjade_yes, that's what builtins.features is for :)19:40:40
@raitobezarius:matrix.orgraitobezariusi read the question in a different way19:40:41
@emilazy:matrix.orgemilyfair enough19:40:49
@jade_:matrix.orgjade_we should not pollute the builtins namespace itself19:40:50
@raitobezarius:matrix.orgraitobezarius i thought this was about builtins.doesItHaveSomeNuls s 19:40:51
@emilazy:matrix.orgemilyno, it's about being able to portably use NUL bytes19:41:10
@jade_:matrix.orgjade_the only reason we don't have builtins.features is cuz nobody had time to do it yet19:41:20
@qyriad:katesiria.orgQyriad does it need any further design work or anything? 22:10:45
15 Oct 2025
@helle:tacobelllabs.nethelle (just a stray cat girl)we are having a laugh/cry at the CI pipeline due to a merge requiring a rebase and that requiring a CI pass, it's an understandable problem, but we missed the window due to us having a migraine09:23:17
@raitobezarius:matrix.orgraitobezariusSoon, merge queue09:58:31
@helle:tacobelllabs.nethelle (just a stray cat girl)yes pls09:58:41
@helle:tacobelllabs.nethelle (just a stray cat girl)it's getting slightly comedic09:58:57
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pingyeahhhh10:08:48
@helle:tacobelllabs.nethelle (just a stray cat girl)in some ways this is a good problem to have, means people are actually working on patches, etc, but uh, we bet like half the current CI action is rebase to merge due to rebase due to missing the window10:15:11
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping and/or maybe a ci skip, if only files of /doc have been touched without any code or test changes 10:17:46
@helle:tacobelllabs.nethelle (just a stray cat girl)trying to remember if /doc markdown gets included in any other file, but I think it is only the reverse relation10:18:54
@helle:tacobelllabs.nethelle (just a stray cat girl)really need to write a ponderation doc for the approach of improving the doc building situation and things like link checking and such, may throw a pad up and after a draft there throw it on the wiki for further feedback10:20:51

Show newer messages


Back to Room ListRoom Version: 10