| 17 Sep 2025 |
piegames | Can I pretty please get a merge queue? | 19:02:49 |
piegames | I rebased today, waited for CI and now I need to rebase again | 19:02:59 |
raitobezarius | I can help someone deploying one, I cannot take care of this until mid-October with the current load on my plate | 19:05:14 |
piegames | waiting a month works for me tbh, I won't be doing much Lix in the meantime either | 20:26:04 |
piegames | thank you for taking care of this | 20:26:41 |
Winter | is flokli's still basically the best one? | 20:27:35 |
lillecarl | Ive been looking into building a time based GC, I built a nix-touch command that updates regtime for a storepath and it's dependencies (and optionally build time deps). Next I'm building a nix-gctime (or something) which will just try to remove any storepaths older than $time regtime (using nix subprocess so I don't have to implement liveness checking).
I just wanted to check in and see if either of you guys have thought of this and why it's a bad idea, it feels so stupid redownloading sources and build-time deps from 10 minutes ago because I ran GC. | 20:37:40 |
lillecarl | --delete-older-than from nix-collect-garbage only kills old gcroots if I understand correctly and doesn't care about regtime when it's time to collect garbage | 20:40:23 |
lillecarl | (This came up when building a nix-snapshotter clone but on the CSI layer rather than CRI) | 20:41:58 |
emily | https://github.com/risicle/nix-heuristic-gc but requires atime | 20:46:24 |
emily | it sounds like you want keep-derivations and keep-outputs mainly thougj | 20:47:01 |