Skip to content

Commit f7dea2c

Browse files
committed
prometheus-rasdaemon-exporter: fix sqlite connection setup
1 parent 009423e commit f7dea2c

File tree

1 file changed

+6
-0
lines changed
  • pkgs/by-name/pr/prometheus-rasdaemon-exporter

1 file changed

+6
-0
lines changed

pkgs/by-name/pr/prometheus-rasdaemon-exporter/package.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ python3Packages.buildPythonApplication {
2828
url = "https://github.com/sanecz/prometheus-rasdaemon-exporter/commit/c9ab08e8918497edb8f1ab0f933fa270cb7860a8.patch";
2929
hash = "sha256-QtjzXuxPG7e+cgUDVbAVNY4VyBp3W5+vQDAvFJ9t92I=";
3030
})
31+
# Fix sqlite3.connect URI passing
32+
# https://github.com/sanecz/prometheus-rasdaemon-exporter/pull/2
33+
(fetchpatch2 {
34+
url = "https://github.com/sanecz/prometheus-rasdaemon-exporter/commit/52f6c47b77f480cd7f83853a2baffffb45f77b37.patch";
35+
hash = "sha256-XYeWMkAhWJIOUKLeTstIJr3P37Jwt8tzRURCvlrrxVs=";
36+
})
3137
];
3238

3339
build-system = with python3Packages; [

0 commit comments

Comments
 (0)