From f7dea2cd214c33efbe052c3fa6ac567ac41b20a1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 31 Dec 2024 00:47:05 +0100 Subject: [PATCH] prometheus-rasdaemon-exporter: fix sqlite connection setup --- pkgs/by-name/pr/prometheus-rasdaemon-exporter/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/pr/prometheus-rasdaemon-exporter/package.nix b/pkgs/by-name/pr/prometheus-rasdaemon-exporter/package.nix index f4d00872c8feb..2eff4095d2a35 100644 --- a/pkgs/by-name/pr/prometheus-rasdaemon-exporter/package.nix +++ b/pkgs/by-name/pr/prometheus-rasdaemon-exporter/package.nix @@ -28,6 +28,12 @@ python3Packages.buildPythonApplication { url = "https://github.com/sanecz/prometheus-rasdaemon-exporter/commit/c9ab08e8918497edb8f1ab0f933fa270cb7860a8.patch"; hash = "sha256-QtjzXuxPG7e+cgUDVbAVNY4VyBp3W5+vQDAvFJ9t92I="; }) + # Fix sqlite3.connect URI passing + # https://github.com/sanecz/prometheus-rasdaemon-exporter/pull/2 + (fetchpatch2 { + url = "https://github.com/sanecz/prometheus-rasdaemon-exporter/commit/52f6c47b77f480cd7f83853a2baffffb45f77b37.patch"; + hash = "sha256-XYeWMkAhWJIOUKLeTstIJr3P37Jwt8tzRURCvlrrxVs="; + }) ]; build-system = with python3Packages; [