!CcTBuBritXGywOEGWJ:matrix.org

NixOS Binary Cache Self-Hosting

156 Members
About how to host a very large-scale binary cache and more54 Servers

Load older messages


SenderMessageTime
8 Aug 2025
@0x4a6f:nixos.dev0x4A6F joined the room.06:31:00
@picnoir:alternativebit.frPicnoir changed their display name from Picnoir to Picnoir | DECT 7426.12:31:06
@picnoir:alternativebit.frPicnoir changed their display name from Picnoir | DECT 7426 to Picnoir DECT 7426.12:32:54
9 Aug 2025
@dmitrii_s:matrix.orgdmitrii_s joined the room.19:04:23
13 Aug 2025
@picnoir:alternativebit.frPicnoir changed their display name from Picnoir DECT 7426 to Picnoir.13:23:04
15 Aug 2025
@sodiboo:gaysex.cloudsodiboo joined the room.22:36:03
18 Aug 2025
@redblueflame:matrix.orgknownasred changed their display name from redblueflame to knownasred.14:26:11
21 Aug 2025
@creepinson:matrix.orgTheo Paris joined the room.22:11:01
25 Aug 2025
@hyperparabolic:matrix.orghyperparabolic joined the room.18:46:49
27 Aug 2025
@nullcube:matrix.org@nullcube:matrix.org left the room.12:19:15
28 Aug 2025
@sbc64:matrix.orgsbc64 changed their profile picture.14:23:17
@hyperparabolic:matrix.orghyperparabolic changed their profile picture.21:27:30
@hyperparabolic:matrix.orghyperparabolic changed their profile picture.21:28:06
@hyperparabolic:matrix.orghyperparabolic changed their profile picture.21:29:31
29 Aug 2025
@magic_rb:matrix.redalder.orgmagic_rb changed their profile picture.19:31:27
2 Sep 2025
@haras-unicorn:matrix.org@haras-unicorn:matrix.org joined the room.15:52:44
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.orgTheo Paris left the room.01:43:06
@informatic:hackerspace.plinfowskiOK, nevermind, I think I am just dumb 🙃11:12:19

Show newer messages


Back to Room ListRoom Version: 10