| 14 Oct 2025 |
K900 | And if we ever end up in a world where only SRI is accepted, I'd rather have a builtins.legacyHashToSRI or whatever | 16:31:41 |
emily | I mean… a built-in that thinks about hash formats is exactly what Raito is so opposed to AIUI | 16:32:09 |
emily | I would just implement convertHash because it doesn't seem that bad to me :) | 16:32:18 |
WeetHet | Does nixpkgs need convertHash? | 16:33:25 |
emily | maybe hash = { algo = "sha256"; format = "nix32"; digest = …; } would be nice. | 16:33:32 |
WeetHet | Out of tree people can just use IFD | 16:33:36 |
K900 | Actually that would be very nice | 16:33:47 |
K900 | I think | 16:33:50 |
emily | see https://github.com/NixOS/nixpkgs/pull/451929 | 16:33:59 |
K900 | That's almost a good abstraction | 16:34:03 |