!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

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


SenderMessageTime
14 Oct 2025
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)

To get progress on convertHash, I can free some time to do:

  • {from,to}{NixBase32,Base64,Base16} and see what a convertHash based on that looks like
16:21:59
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) It's going to be crucial that convertHash exist in nixpkgs 16:22:10
@emilazy:matrix.orgemilygiven it is another quirky non-standard format vs. SRI16:22:11
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) And not in builtins 16:22:13
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) And that users prefer lib.convertHash as we usually recommend to everyone writing code in general 16:22:37
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) I think that having lib.convertHash = if builtins?convertHash then builtins.convertHash else (throw "convertHash is not available yet on all platforms, see <DOC LINK> about caveats and plans."); would be useful now 16:23:25
@emilazy:matrix.orgemily fwiw it seems like Nix is calling the format nix32 these days 16:23:41
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)let's call it nix3216:23:48
@emilazy:matrix.orgemily I guess it would be something like builtins.fromNixBase32 { payload = …; size = 160; }? 16:23:49
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)I'm not yet totally fixed on the byte sizes stuff, but I am keeping this open16:24:11
@emilazy:matrix.orgemilywell it needs solving to convert hashes properly :)16:24:21
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) builtins.conversions.fromNixBase32 btw 16:24:24
@emilazy:matrix.orgemilyone way or another16:24:25
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)We are aligned on the goal, I am doing something on the side, so I don't have all the context loaded16:24:42

Show newer messages


Back to Room ListRoom Version: 10