19 Oct 2024 |
hexa | I tried updating hydra,b ut | 13:19:58 |
hexa | * I tried updating hydra, but | 13:20:00 |
hexa | 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 | the patch is in nixpkgs | 13:21:09 |
hexa | not in our infra repo | 13:21:17 |
hexa | and the override for the package doesn't work anymore | 13:21:34 |
hexa | 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 | no | 13:22:00 |
hexa | probably not | 13:22:21 |
hexa | cursed stuff | 13:23:01 |
hexa | the machine is still on 23.11 | 13:23:04 |
hexa | well\ | 13:24:00 |
hexa | dropping the override maybe\ | 13:24:05 |
hexa | * dropping the override maybe | 13:24:07 |
hexa | 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 | this is the override fwiw | 13:24:48 |
hexa | Work around for https://github.com/NixOS/hydra/issues/1337 | 13:24:53 |
hexa | but I think I disabled the hydra-notify service a while ago, we might be good | 13:25:21 |
hexa | # eats memory as if it was free
systemd.services.hydra-notify.enable = false;
| 13:26:23 |
hexa | 😄 | 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 | if 24.05 builds I'll deploy that | 13:28:24 |
hexa | the nix version is tied to the hydra version | 13:28:39 |
hexa | 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 |
Jeremy Fleischman (jfly) | nix noob question: is it possible to do gc with a daemonless, bleeding edge version of nix? | 13:30:18 |
VladimÃr ÄŒunát | I'm trying that already. | 13:30:28 |
VladimÃr ÄŒunát | I'm not sure if this goes through daemon, but worth a shot for me. | 13:30:57 |