hydra/src
Maximilian Bosch e499509595
Switch to new Nix bindings, update Nix for that
Implements support for Nix's new Perl bindings[1]. The current state
basically does `openStore()`, but always uses `auto` and doesn't support
stores at other URIs.

Even though the stores are cached inside the Perl implementation, I
decided to instantiate those once in the Nix helper module. That way
store openings aren't cluttered across the entire codebase. Also, there
are two stores used later on - MACHINE_LOCAL_STORE for `auto`,
BINARY_CACHE_STORE for the one from `store_uri` in `hydra.conf` - and
using consistent names should make the intent clearer then.

This doesn't contain any behavioral changes, i.e. the build product
availability issue from #1352 isn't fixed. This patch only contains the
migration to the new API.

[1] https://github.com/NixOS/nix/pull/9863
2024-02-12 18:50:56 +01:00
..
hydra-eval-jobs Switch to new Nix bindings, update Nix for that 2024-02-12 18:50:56 +01:00
hydra-evaluator Switch to new Nix bindings, update Nix for that 2024-02-12 18:50:56 +01:00
hydra-queue-runner Switch to new Nix bindings, update Nix for that 2024-02-12 18:50:56 +01:00
lib Switch to new Nix bindings, update Nix for that 2024-02-12 18:50:56 +01:00
libhydra Update to Nix 2.19 2023-11-30 15:26:46 -05:00
root web: disable Sign in with Google popup 2024-01-25 09:27:46 +01:00
script Switch to new Nix bindings, update Nix for that 2024-02-12 18:50:56 +01:00
sql Add migration to drop non-null constraints 2024-01-26 11:53:58 -05:00
ttf Add font for the captcha 2013-03-04 12:16:13 +01:00
Makefile.am Revert "hydra-eval-jobs -> nix eval-hydra-jobs" 2020-02-19 20:36:52 +01:00
Makefile.PL perlcritic: use strict, use warnings 2021-09-06 22:13:33 -04:00