| 10 Aug 2022 |
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 |