Merge fort-nix/nix-bitcoin#627: Fix clightning prometheus plugin msat purge error

8157cd4fe3 fix prometheus msat purge error (Haos Games)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 8157cd4fe3

Tree-SHA512: 0e4634106d15762aeb1ed86d2e5d59d018bf3b36a14c15dd126d5e9987cd3c3b8c937bdb02d6795ec77985a88cb5f30f70b613d92d30e057fea5db894098d459
This commit is contained in:
Jonas Nick 2023-07-24 08:47:37 +00:00
commit d8954ec8dd
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

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 = "eee5e90df442586b7f891df4fc0c67d273534737"; rev = "ce078bb74e10b5dea779fcd9fbe77e1d3e72db7a";
sha256 = "0ry6gxp9gqpzpdjykx0a5q53saai5jydwvcy6smsh0f5dmjl8srh"; hash = "sha256-SCHSJzXe1l14hVT47SU3lWDxKCKwwICjXjSDpjUX96U";
}; };
patches = [ version = builtins.substring 0 7 src.rev;
# 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;
plugins = with nbPython3Packages; { plugins = with nbPython3Packages; {
currencyrate = { currencyrate = {