fix prometheus msat purge error

This commit is contained in:
Haos Games 2023-07-23 19:45:19 +02:00
parent 6eaddd970a
commit 8157cd4fe3

View File

@ -3,25 +3,14 @@ pkgs: nbPython3Packages:
let let
inherit (pkgs) lib; inherit (pkgs) lib;
src = pkgs.applyPatches { src = pkgs.fetchFromGitHub {
src = pkgs.fetchFromGitHub { owner = "lightningd";
owner = "lightningd"; repo = "plugins";
repo = "plugins"; rev = "ce078bb74e10b5dea779fcd9fbe77e1d3e72db7a";
rev = "eee5e90df442586b7f891df4fc0c67d273534737"; hash = "sha256-SCHSJzXe1l14hVT47SU3lWDxKCKwwICjXjSDpjUX96U";
sha256 = "0ry6gxp9gqpzpdjykx0a5q53saai5jydwvcy6smsh0f5dmjl8srh";
};
patches = [
# https://github.com/lightningd/plugins/pull/451
(pkgs.fetchpatch {
name = "202305-prometheus-msat-purge";
url = "https://github.com/lightningd/plugins/commit/f8a27b97a1b9ded8790c1f033b1f4268c0a6e210.patch";
sha256 = "sha256-0lFMhHHIi9bUU0+xaHhpnascNlFmr51JxE6e2F0s0zc=";
})
];
}; };
version = builtins.substring 0 7 src.src.rev; version = builtins.substring 0 7 src.rev;
plugins = with nbPython3Packages; { plugins = with nbPython3Packages; {
currencyrate = { currencyrate = {