!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

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


SenderMessageTime
14 Oct 2025
@k900:0upti.meK900 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
@emilazy:matrix.orgemilyI mean… a built-in that thinks about hash formats is exactly what Raito is so opposed to AIUI16:32:09
@emilazy:matrix.orgemily I would just implement convertHash because it doesn't seem that bad to me :) 16:32:18
@weethet:catgirl.cloudWeetHet Does nixpkgs need convertHash? 16:33:25
@emilazy:matrix.orgemily maybe hash = { algo = "sha256"; format = "nix32"; digest = …; } would be nice. 16:33:32
@weethet:catgirl.cloudWeetHetOut of tree people can just use IFD16:33:36
@k900:0upti.meK900 Actually that would be very nice 16:33:47
@k900:0upti.meK900I think16:33:50
@emilazy:matrix.orgemilysee https://github.com/NixOS/nixpkgs/pull/45192916:33:59
@k900:0upti.meK900That's almost a good abstraction16:34:03
@weethet:catgirl.cloudWeetHetIsn't nixpkgs minimum nix version still 2.18?16:36:56
@emilazy:matrix.orgemilybut if the implementation is going to consume those structured formats, then there's an argument for a built-in to convert them :)16:37:15
@emilazy:matrix.orgemilythe feature detection is precisely what caused the hash divergence.16:37:31
@weethet:catgirl.cloudWeetHetWell yes, but how did the original PR even get accepted if it would cause different results on 2.18 and whatever the current version of nix is16:39:09
@emilazy:matrix.orgemilyhow would that be tested?16:39:58

Show newer messages


Back to Room ListRoom Version: 10