From c5931e7cc7b0c6722f9c5fb0f86ff52b107ac529 Mon Sep 17 00:00:00 2001 From: Jakob Lechner Date: Mon, 3 Jun 2024 12:31:45 +0200 Subject: [PATCH] Fix http 500 in home-assistant --- hosts/iron/services/radicale.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hosts/iron/services/radicale.nix b/hosts/iron/services/radicale.nix index a47cee7..538947f 100644 --- a/hosts/iron/services/radicale.nix +++ b/hosts/iron/services/radicale.nix @@ -1,4 +1,4 @@ -args@{ config, lib, custom-utils, ... }: +args@{ config, lib, pkgs, custom-utils, ... }: let ports = import ../ports.nix args; @@ -54,5 +54,14 @@ in level = "warning"; }; }; + # Apply fix https://github.com/Kozea/Radicale/issues/1485 + package = pkgs.radicale.overrideAttrs (p: { + src = pkgs.fetchFromGitHub { + owner = "Kozea"; + repo = "Radicale"; + rev = "5146537915f0cb397ae4ef53fe8a4f91fac5d972"; + sha256 = "DRNiY665MHqmXAeGs39N3YfTAV0SEjzUNf3Nfk+kKvk="; + }; + }); }; }