I installed Hydra on NixOS using the suggested stanza in my configuration.nix
:
services.hydra = {
enable = true;
hydraURL = "http://localhost:3000"; # externally visible URL
notificationSender = "hydra@localhost"; # e-mail of hydra service
buildMachinesFiles = [];
useSubstitutes = true;
};
And it’s working great for me, but I’m stuck on Hydra 2021-05-03 (using nix-2.4pre20210601_5985b8b).
I can do nix build hydra
to get a symlink to latest Hydra flake:
$ ls -la result
lrwxrwxrwx 1 ciadmin users 70 Nov 10 01:56 result -> /nix/store/i0f8d6y4qwg1c481hf0kn6kc9001fb8j-hydra-0.1.20211102.2dc6d58
But this doesn’t change anything about what NixOS runs.
How do I update my NixOS to be running a newer Hydra, or a Hydra built from source?