19 Oct 2024 |
hexa (signing key rotation when) | nix.gc.options = ''--max-freed "$((400 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $4 }')))"'';
| 13:18:48 |
hexa (signing key rotation when) | gross | 13:18:50 |
vcunat | GC is only partial because we still have
error: store path 'q7375xm60a582561sq84mxyx13j79cjb-.version' starts with illegal character '.'
| 13:19:20 |
hexa (signing key rotation when) | I tried updating hydra,b ut | 13:19:58 |
hexa (signing key rotation when) | * I tried updating hydra, but | 13:20:00 |
hexa (signing key rotation when) | boehm-gc patch does not apply | 13:20:29 |
Jeremy Fleischman (jfly) | could we update (without the patch), gc, and then revert? | 13:21:01 |
hexa (signing key rotation when) | the patch is in nixpkgs | 13:21:09 |
hexa (signing key rotation when) | not in our infra repo | 13:21:17 |
hexa (signing key rotation when) | and the override for the package doesn't work anymore | 13:21:34 |
hexa (signing key rotation when) | pkgs/tools/package-management/nix/patches/boehmgc-coroutine-sp-fallback.patch | 13:21:44 |
Jeremy Fleischman (jfly) | ok, more ridiculous: could we update (without hydra), gc, and then revert? | 13:21:47 |
hexa (signing key rotation when) | no | 13:22:00 |
hexa (signing key rotation when) | probably not | 13:22:21 |
hexa (signing key rotation when) | cursed stuff | 13:23:01 |
hexa (signing key rotation when) | the machine is still on 23.11 | 13:23:04 |
hexa (signing key rotation when) | well\ | 13:24:00 |
hexa (signing key rotation when) | dropping the override maybe\ | 13:24:05 |
hexa (signing key rotation when) | * dropping the override maybe | 13:24:07 |
hexa (signing key rotation when) | services.hydra-dev.package = pkgs.hydra.overrideAttrs (
_final: prev: {
postPatch = ''
${prev.postPatch or ""}
rm src/lib/Hydra/Plugin/DeclarativeJobsets.pm
rm t/Hydra/Plugin/DeclarativeJobsets/basic.t
'';
}
);
| 13:24:43 |
hexa (signing key rotation when) | this is the override fwiw | 13:24:48 |
hexa (signing key rotation when) | Work around for https://github.com/NixOS/hydra/issues/1337 | 13:24:53 |
hexa (signing key rotation when) | but I think I disabled the hydra-notify service a while ago, we might be good | 13:25:21 |
hexa (signing key rotation when) | # eats memory as if it was free
systemd.services.hydra-notify.enable = false;
| 13:26:23 |
hexa (signing key rotation when) | 😄 | 13:26:24 |
Jeremy Fleischman (jfly) | it does seem to me like we could temporarily blow past nixos 23.11 if necessary to get a version of nix that plays nicely with dotfiles (dropping hydra and anything else that stands in our way), gc, and then revert | 13:27:33 |
hexa (signing key rotation when) | if 24.05 builds I'll deploy that | 13:28:24 |
hexa (signing key rotation when) | the nix version is tied to the hydra version | 13:28:39 |
hexa (signing key rotation when) | I wouldn't want to disable hydra unless absolutely necessary | 13:29:04 |
Jeremy Fleischman (jfly) | ahh, kk. that was the piece i was missing | 13:29:12 |