!CcTBuBritXGywOEGWJ:matrix.org

NixOS Binary Cache Self-Hosting

166 Members
About how to host a very large-scale binary cache and more59 Servers

Load older messages


SenderMessageTime
4 Sep 2025
@atagen:ch.atagen.coatagen set a profile picture.12:04:16
@atagen:ch.atagen.coatagen changed their profile picture.12:04:39
@atagen:ch.atagen.coatagen changed their profile picture.12:04:51
5 Sep 2025
@cnorman:matrix.orgChris Norman set a profile picture.15:05:09
@cnorman:matrix.orgChris Norman changed their profile picture.15:05:21
8 Sep 2025
@inayet:matrix.orginayet set a profile picture.02:16:25
9 Sep 2025
@albertlarsan68:albertlarsan.frAlbert Larsan joined the room.19:55:19
11 Sep 2025
@informatic:hackerspace.plinfowski joined the room.11:39:13
@informatic:hackerspace.plinfowski

OK, so... This is somewhat related to binary cache self-hosting... For context - I've been experimenting with setting up a solution for automatic/transparent local cache sharing across machines in the same LAN, via avahi-based wrapper around Harmonia. This worked great during my initial testing.

Now I've noticed that somehow most of the paths in my local nix stores (ones that I am 99% certain were pulled from https://cache.nixos.org) don't actually contain any signatures (looking at Harmonia narinfo / ValidPaths table inspection in /nix/var/nix/db/db.sqlite). If I manually run nix store copy-sigs --all -s https://cache.nixos.org/ I see cache.nixos.org-1 signature for all the paths I check again. Any new paths that were just fetched during eg. nix-shell -p ... also have correct sigs...
I see this behaviour on at least 2 vastly different configs, on different long-running machines (nix 2.18 & nixos 23.11, nix 2.28.4 & nixos 25.05) - db.sqlite usually has sigs for ~10% of paths (1747/13143, 2790/22476 - after nix-collect-garbage + copy-sigs on latter mentioned above it's up to 9938/19420)

Any idea what could be a reason for that? Maybe some GC/optimise-related behaviour? I had a quick glance at cppnix source but don't see anything obvious...
I'll go back to trying to reproduce this, but if anyone has any hints...

12:11:03
@informatic:hackerspace.plinfowski (also, never [knowingly?] used --no-check-sigs, and all my nix.settings options are on nixos defaults) 12:12:47
@informatic:hackerspace.plinfowski * (also, never [knowingly?] used --no-check-sigs, and all my nix.settings options are on nixos defaults; also sorry for wall of text) 12:13:27
@informatic:hackerspace.plinfowski Hmmm... Most of those paths in question come from nixos-rebuild updates... Wonder if that matters... 🤔 12:23:46
12 Sep 2025
@creepinson:matrix.org@creepinson:matrix.org left the room.01:43:06
@informatic:hackerspace.plinfowskiOK, nevermind, I think I am just dumb 🙃11:12:19
14 Sep 2025
@emma:rory.gayEmma [it/its] joined the room.08:39:35
16 Sep 2025
@haras-unicorn:matrix.org@haras-unicorn:matrix.org left the room.16:19:42
23 Sep 2025
@a-kenji:matrix.orga-kenji changed their display name from a-kenji to kenji.10:38:37
29 Sep 2025
@brian:bmcgee.ieBMG left the room.13:41:14
30 Sep 2025
@17lifers:mikuplushfarm.ovh17lifers (at mikuplushfarm) joined the room.16:05:31
@17lifers:mikuplushfarm.ovh17lifers (at mikuplushfarm) left the room.18:41:22
@mjolnir:nixos.orgNixOS Moderation Bot banned @joepie91:pixie.town@joepie91:pixie.town (divsive behavior).19:23:32
1 Oct 2025
@eisfunke:eisfunke.comNicolas Lenz left the room.09:50:43
6 Oct 2025
@brisingr05:matrix.org@brisingr05:matrix.org left the room.02:09:01
8 Oct 2025
@andrewzah:matrix.abare.partyAndrew Zah joined the room.16:58:37
@andrewzah:matrix.abare.partyAndrew Zah changed their display name from andrewzah ⚡️ to andrewzah.17:06:05
11 Oct 2025
@midischwarz12:libg.somidischwarz12 joined the room.20:47:56
12 Oct 2025
@midischwarz12:libg.somidischwarz12 removed their profile picture.02:45:01
@midischwarz12:libg.somidischwarz12 set a profile picture.02:45:10
13 Oct 2025
@vivekanandan_ks:matrix.orgvivekanandan_ks joined the room.18:54:15
15 Oct 2025
@andrewzah:matrix.abare.partyAndrew Zah changed their display name from andrewzah to Andrew Zah.09:29:43

Show newer messages


Back to Room ListRoom Version: 10