| 14 Oct 2025 |
raitobezarius | And not in builtins | 16:22:13 |
raitobezarius | And that users prefer lib.convertHash as we usually recommend to everyone writing code in general | 16:22:37 |
raitobezarius | 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 |
emily | fwiw it seems like Nix is calling the format nix32 these days | 16:23:41 |
raitobezarius | let's call it nix32 | 16:23:48 |
emily | I guess it would be something like builtins.fromNixBase32 { payload = …; size = 160; }? | 16:23:49 |
raitobezarius | I'm not yet totally fixed on the byte sizes stuff, but I am keeping this open | 16:24:11 |
emily | well it needs solving to convert hashes properly :) | 16:24:21 |
raitobezarius | builtins.conversions.fromNixBase32 btw | 16:24:24 |
emily | one way or another | 16:24:25 |
raitobezarius | We are aligned on the goal, I am doing something on the side, so I don't have all the context loaded | 16:24:42 |
raitobezarius | If sizes are crucial to that goal, np | 16:24:50 |