From 8157cd4fe3a475d9c238b046e693331fcb5eb5b8 Mon Sep 17 00:00:00 2001 From: Haos Games Date: Sun, 23 Jul 2023 19:45:19 +0200 Subject: [PATCH] fix prometheus msat purge error --- pkgs/clightning-plugins/default.nix | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/pkgs/clightning-plugins/default.nix b/pkgs/clightning-plugins/default.nix index eb9a98b..76af9e4 100644 --- a/pkgs/clightning-plugins/default.nix +++ b/pkgs/clightning-plugins/default.nix @@ -3,25 +3,14 @@ pkgs: nbPython3Packages: let inherit (pkgs) lib; - src = pkgs.applyPatches { - src = pkgs.fetchFromGitHub { - owner = "lightningd"; - repo = "plugins"; - rev = "eee5e90df442586b7f891df4fc0c67d273534737"; - 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="; - }) - ]; + src = pkgs.fetchFromGitHub { + owner = "lightningd"; + repo = "plugins"; + rev = "ce078bb74e10b5dea779fcd9fbe77e1d3e72db7a"; + hash = "sha256-SCHSJzXe1l14hVT47SU3lWDxKCKwwICjXjSDpjUX96U"; }; - version = builtins.substring 0 7 src.src.rev; + version = builtins.substring 0 7 src.rev; plugins = with nbPython3Packages; { currencyrate = {