!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

848 Members
For people hacking on the Nix package manager itself183 Servers

Load older messages


SenderMessageTime
29 Jul 2025
@joerg:thalheim.ioMic92It did turn it on for nix-eval-jobs when I was testing 21:59:56
@Ericson2314:matrix.orgJohn Ericsonah gotcha22:00:07
@Ericson2314:matrix.orgJohn Ericsononce we stop using the silly drv hashes in realisation keys22:00:29
@Ericson2314:matrix.orgJohn Ericsonyou just look up other table with drv path22:00:36
@Ericson2314:matrix.orgJohn Ericsonthere is no reason to read in derivation to compute "static output paths" or anything like that22:01:14
@joerg:thalheim.ioMic92https://github.com/nix-community/srvos/blob/cc76247e77c04cf2ad0bf04be10a5d47bc3da594/nixos/mixins/nix-experimental.nix#L2922:03:03
@Ericson2314:matrix.orgJohn Ericsonah, OK22:12:25
30 Jul 2025
@Ericson2314:matrix.orgJohn EricsonOK based on today's saga, would like to discuss https://github.com/NixOS/nix/pull/13263#issuecomment-3134777234 tomorrow and hopefully merge it03:59:06
@mkuritsu:matrix.orgKuritsu joined the room.04:33:42
@fzakaria:one.ems.hostfzakariaso no new meeting for Monday ?14:54:45
@fzakaria:one.ems.hostfzakariaI hope to come today a bit late.14:54:48
@fzakaria:one.ems.hostfzakariaalthough I didn't hack much this week.14:54:53
@fzakaria:one.ems.hostfzakariamostly working with Yannick on some fetchGit cache bug14:55:10
@Ericson2314:matrix.orgJohn Ericsonthere was one later in the day14:57:36
@Ericson2314:matrix.orgJohn EricsonI guess the calendar is not updated still14:57:44
@Ericson2314:matrix.orgJohn Ericsonhttps://github.com/nlohmann/json/discussions/261214:57:48
@Ericson2314:matrix.orgJohn Ericsonso maybe we should use that for the new derivation format14:57:55
@Ericson2314:matrix.orgJohn Ericsoncanonical and easy to read14:58:01
@Ericson2314:matrix.orgJohn Ericsonfrankly, I don't think non-canonical would cause issues, because it is fine to have fewer cache hits14:58:24
@Ericson2314:matrix.orgJohn Ericsonbut it do feel better with it14:58:28
@Ericson2314:matrix.orgJohn Ericson* frankly, I don't think non-canonicity would cause issues, because it is fine to have fewer cache hits14:58:49
@Ericson2314:matrix.orgJohn Ericsonoh the RFC exists, but nlohmann doesn't yet implement it 14:59:16
@emilazy:matrix.orgemily(from the last time this came up, including my strong warning against canonicalized JSON formats and suggestions for alternatives)15:00:26
@emilazy:matrix.orgemilythe good thing about JSON canonicalization schemes is that there are so many to pick from!15:00:54
@Ericson2314:matrix.orgJohn Ericson emily: how about CBOR? 15:09:51
@Ericson2314:matrix.orgJohn Ericson Robert Hensing (roberth) was once concerned that making it binary would be a humans debugging drawback 15:10:24
@emilazy:matrix.orgemilymentioned here (there's also three versions of that spec unfortunately)15:10:39
@Ericson2314:matrix.orgJohn Ericsonto be clear, we need a parser that validates the canonical format15:11:19
@Ericson2314:matrix.orgJohn Ericsonit is not good enough to make just the serializer do the thing15:11:31
@emilazy:matrix.orgemilyIMO textual formats are good but you need to keep them separate from the non-malleable canonical forms since the two are pretty in tension. Preserves does this. (though again I doubt Preserves is appealing for direct adoption given lack of ecosystem, it's just the measuring stick for these things in my view)15:11:38

Show newer messages


Back to Room ListRoom Version: 6