| 14 Oct 2025 |
emily | I don't care about it on a personal level, I just know that it regularly comes up as a blocker for using Lix for people, e.g. brew-nix used it, https://github.com/search?q=convertHash+language%3Anix&type=code shows many examples, and as i linked in https://github.com/NixOS/nixpkgs/pull/451929 an attempt to do feature-detection in Nixpkgs caused hash divergence between Nix and Lix | 16:16:35 |
emily | so I thought it was worth raising again because it seemed to have been bikeshedded into a radix conversion function that wouldn't work to implement the built-in and stalled out | 16:17:07 |
K900 | Man this is so cursed | 16:17:36 |
emily | I guess there is no other way to produce an SRI or Base32 hash of a string in Nix currently, e.g. | 16:17:40 |
K900 | Literally none of those uses of convertHash are valid | 16:17:45 |