| 9 Aug 2022 |
Rick (Mindavi) | In reply to @ulrikstrid:matrix.org I can't build hydra from master because of failed tests (or some other arbitrary older commits), getting this error in the logs: Can't call method "password" on an undefined value at scripts/hydra-create-user.t is this a known issue? Same with nixpkgs hydra or no? | 16:18:58 |
Rick (Mindavi) | Otherwise I think it might be best to use that for now? | 16:19:13 |
@ulrikstrid:matrix.org | In reply to @rick:matrix.ciphernetics.nl Same with nixpkgs hydra or no? Looks like it worked after a reboot on my building machine 🤔 | 19:21:00 |
| 10 Aug 2022 |
Amanda (she/her) | Hum. I just noticed hydra seems to be copying stuff from cache.nixos.org to my local minio s3 bucket, how can I tell it not to bother? | 18:28:51 |
Amanda (she/her) | I just want it to cache stuff that it had to build itself | 18:29:12 |
Amanda (she/her) | Or is that information lost in between the building and the uploading? | 18:30:19 |
@grahamc:nixos.org | Nix maintains an invariant that the entire closure of something must be present in a given cache | 18:32:05 |
Amanda (she/her) | ah | 18:32:14 |
@grahamc:nixos.org | it doesn't really support a partial/overlay cache | 18:32:17 |
Amanda (she/her) | shame, oh well | 18:32:24 |
ajs124 | it does? | 18:32:32 |
ajs124 | but it substitutes from multiple different caches for just fine, for one closure | 18:32:51 |
ajs124 | * but it substitutes from multiple different caches just fine, for one closure | 18:33:02 |
@grahamc:nixos.org | I mean, maybe it does actually do that in reality, but the invariant / expectation is still there | 18:33:27 |
ajs124 | good to know 😬 | 18:33:43 |
Amanda (she/her) | Hum, that may actually prove useful, since my local cache's growing pretty big. 1.1TiB now | 19:02:59 |
Amanda (she/her) | So I can just nuke the directory without worrying about dangling references | 19:03:14 |
Amanda (she/her) | ( I assume ) | 19:03:20 |
Amanda (she/her) | Unless there's another way to prune it, last I heard there's no such tools for that publically | 19:03:50 |
ajs124 | I think I saw one in a gist somewhere, for s3 caches | 19:07:45 |
ajs124 | https://gist.github.com/DarkKirb/533e9e8b9b6dd1badf9b103b4285dc4e | 19:08:06 |
Amanda (she/her) | interesting | 19:09:48 |
ajs124 | I also hacked one up, but it's very dumb and just works on a directory of narinfo and nar files by basically doing LRU.
Doesn't even try to parse any dependencies or anything rn. | 19:10:50 |
| kenji joined the room. | 19:47:30 |
| 14 Aug 2022 |
| @rimuru:gentoo.chat changed their profile picture. | 09:36:44 |
@linus:schreibt.jetzt | I wrote https://github.com/lheckemann/cache-gc which operates on a flat-file binary cache and removes things based on mtime (and keeps dependencies of "live" things even if they're older) | 10:56:57 |
@linus:schreibt.jetzt | ajs124: how do you get LRU info? | 10:57:16 |
@linus:schreibt.jetzt | access logs? | 10:59:44 |
das_j | In reply to @linus:schreibt.jetzt ajs124: how do you get LRU info? Atime iirc | 11:00:28 |