!RROtHmAaQIkiJzJZZE:nixos.org

NixOS Infrastructure

373 Members
Next Infra call: 2024-07-11, 18:00 CEST (UTC+2) | Infra operational issues backlog: https://github.com/orgs/NixOS/projects/52 | See #infra-alerts:nixos.org for real time alerts from Prometheus.114 Servers

Load older messages


SenderMessageTime
16 Oct 2025
@brian:bmcgee.ieBMG🤔11:53:30
@vcunat:matrix.orgvcunatnarinfo is per derivation. nar is per derivation output. Am I wrong?12:01:57
@brian:bmcgee.ieBMG🤔12:02:09
@vcunat:matrix.orgvcunatWe do use multi-output derivations pretty commonly, at least in the more-core packages.12:02:26
@brian:bmcgee.ieBMGThat would make sense12:02:44
@brian:bmcgee.ieBMGBut woudl that mean more nars than narinfos?12:03:17
@brian:bmcgee.ieBMG* But wouldn't that mean more nars than narinfos?12:03:25
@hexa:lossy.networkhexa (signing key rotation when)yes12:03:31
@brian:bmcgee.ieBMGWe're seeing the opposite12:03:45
@brian:bmcgee.ieBMGIf my clickhouse skills are to be believed12:03:51
@raitobezarius:matrix.orgraitobezarius<confusion intensifies>12:04:02
@vcunat:matrix.orgvcunatAh, I misread that. OK.12:04:20
@vcunat:matrix.orgvcunatIt does happen commonly on Hydra that we build the same-hashed derivation twice in parallel.12:06:02
@vcunat:matrix.orgvcunat* It does happen commonly on Hydra that we build the same-hashed derivation twice in parallel (and both succeed).12:06:09
@vcunat:matrix.orgvcunatI'm not sure what exactly happens in that case. But even so.12:06:26
@brian:bmcgee.ieBMGwhich would account for same nar but multiple narinfos?12:06:29
@brian:bmcgee.ieBMGassuming the build output was bit-wise reproducible12:06:48
@vcunat:matrix.orgvcunatThey often are not, but I'm not sure that really affects the count of re-uploads.12:07:23
@vcunat:matrix.orgvcunatIt doesn't affect the (S3/URL) paths.12:07:39
@brian:bmcgee.ieBMGHappy to jump on a call a bit later and poke through this dataset together 12:15:23
@nam3l33ss:matrix.org·☽•Nameless☆•777 · ± joined the room.13:40:10
@nam3l33ss:matrix.org·☽•Nameless☆•777 · ±Hi o/13:41:21
@joerg:thalheim.ioMic92
In reply to @brian:bmcgee.ie
But wouldn't that mean more nars than narinfos?
You can end up with more narinfos if you produce the very same build-output.
15:13:26
@joerg:thalheim.ioMic92Ah vcunat said this already 15:13:48
@dramforever:matrix.orgdramforeveri am pretty sure this is wrong15:14:38
@dramforever:matrix.orgdramforevernarinfo is per path, nar is whatever15:14:44
@dramforever:matrix.orgdramforeverso you'll have one narinfo per output15:15:15
@dramforever:matrix.orgdramforeverprotocol-wise the nars doesn't matter, you just need to point the URL in narinfo to something15:16:15
@dramforever:matrix.orgdramforeveri think it just happens that nix defaults to using a hash of the nar contents15:16:29
@dramforever:matrix.orgdramforeveror something like that15:16:33

Show newer messages


Back to Room ListRoom Version: 6