!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
14 Oct 2025
@raitobezarius:matrix.orgraitobezariusno, 6666 is one of the AFNix macOS builder10:08:55
@delroth:delroth.netdelroth(the DNS zone only has the v4 for that host so I don't know if we're talking about the same one)10:09:01
@raitobezarius:matrix.orgraitobezariuswe didn't setup yet access to these mac for interactive remote building10:09:14
@delroth:delroth.netdelrothahh, thanks10:09:36
@raitobezarius:matrix.orgraitobezariusnw10:09:39
@delroth:delroth.netdelrothI got confused since the whois resolves to scaleway10:09:42
@raitobezarius:matrix.orgraitobezarius2001:bc8:38ee::/48 is par0110:10:01
@delroth:delroth.netdelrothbut wait10:10:49
@delroth:delroth.netdelroththe afnix macos builders don't have v6?10:10:53
@raitobezarius:matrix.orgraitobezariusnot yet10:10:59
@raitobezarius:matrix.orgraitobezariusthe initial setup had v610:11:02
@delroth:delroth.netdelrothwhere's that IP from then?10:11:11
@raitobezarius:matrix.orgraitobezariusthen we switched them over v4 because we needed to complete the MDM process10:11:12
@raitobezarius:matrix.orgraitobezariusit's from the initial setup before MDM10:11:19
@raitobezarius:matrix.orgraitobezariusi can reintroduce the IPv6 once I have some time10:11:33
@delroth:delroth.netdelroth I'm just confused how aloisw ended up with it then :p 10:11:37
@delroth:delroth.netdelrothok10:11:37
@delroth:delroth.netdelrothI guess I don't need the full history lesson to accept current facts10:11:47
@raitobezarius:matrix.orgraitobezarius before MDM, I gave aloisw access to one of the box so they could do some testing 10:11:52
@delroth:delroth.netdelrothmakes sense, thanks10:12:01
@raitobezarius:matrix.orgraitobezariuswe can move this over AFNix discussion10:12:10
@raitobezarius:matrix.orgraitobezarius(https://zulip.afnix.fr/#narrow/channel/4-infra/topic/macOS.20remote.20building.20access for those who wants to follow)10:13:03
@emilazy:matrix.orgemily

has there been any more thought given re: builtins.convertHash / https://git.lix.systems/lix-project/lix/issues/602? I know making it a more general radix conversion function was discussed, but IMO the Base32 and Base64/SRI hash formats are quirky enough that they really don't fit elegantly into a radix conversion model, especially since they are too large to round-trip via Nix integers, which would otherwise be the natural way to express radix conversion functions.

not saying it has to have the exact same interface but I am not convinced that the full general base conversion mechanism is necessary/desirable for it, and the -2 review on https://gerrit.lix.systems/c/lix/+/2585 shows that it would require a lot of contortions to make it useful for the actual hash conversion use case, which seems to have been useful both in third-party repos and has caused a hash mismatch in Nixpkgs even with an attempt to do feature detection https://github.com/NixOS/nixpkgs/pull/451929.

15:38:52
@emilazy:matrix.orgemily given it has to deal with >128-bit values and the formats are quirky, I am not sure there is a builtin that is significantly more scoped than builtins.convertHash that would make it possible to implement this efficiently and non-horribly given Nix's anaemic facilities for such processing 15:40:17
@emilazy:matrix.orgemilyI think the most you could reasonably scope it down is just omitting handling of the SRI stuff and making it do inter-conversion of strings between Base16/Base32/Base6415:41:27
@emilazy:matrix.orgemily and then handle the <alg>:<digest> and <alg>-<digest> formats in Nix code 15:41:44
@emilazy:matrix.orgemilybut even then it's not like you'll get something terribly general because e.g. you are still encoding quirks like Nix's Base32 endianness15:42:14
@emilazy:matrix.orgemily so I expect that in ~100% of cases people are just going to be using it for exactly what builtins.convertHash does 15:42:50
@emilazy:matrix.orgemily I suppose I can imagine someone trying to convert Base64 binary data to a hex dump or something… and if NUL bytes are going to be allowed in strings then it could be split into two separate encode/decode built-ins that go through binary blobs at a penalty of more allocations etc. 15:43:44
@emilazy:matrix.orgemilybut the general radix conversion thing seems like a total detour15:44:00

Show newer messages


Back to Room ListRoom Version: 10