From cc501fc8980f7527a9c60a4d97d1677f81d8e726 Mon Sep 17 00:00:00 2001 From: clerie Date: Fri, 10 Feb 2023 23:32:34 +0100 Subject: [PATCH] hosts/hydra-1: apply workaround for broken nix-serve --- hosts/hydra-1/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/hydra-1/configuration.nix b/hosts/hydra-1/configuration.nix index 4a9ab14..38930f1 100644 --- a/hosts/hydra-1/configuration.nix +++ b/hosts/hydra-1/configuration.nix @@ -53,6 +53,10 @@ port = 5005; bindAddress = "127.0.0.1"; secretKeyFile = "/var/src/secrets/nix-serve/secret-key.key"; + # Workaround https://github.com/NixOS/nix/issues/7704#issuecomment-1409480909 + package = pkgs.nix-serve.override { + nix = pkgs.nixVersions.nix_2_12; + }; }; services.nginx.enable = true;