From cff12ba68eea91970ffe75b5eccfe429501c1159 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Mon, 22 Aug 2022 11:18:58 +0200 Subject: [PATCH] lndhub-go: add logo layout patch --- pkgs/default.nix | 12 ++++++++++++ pkgs/pinned.nix | 3 +-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/pkgs/default.nix b/pkgs/default.nix index cc5fb4268..95d3a2655 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -35,6 +35,18 @@ let self = { # Remove this when the clightning build is fixed upstream. clightning = pkgs.callPackage ./clightning-mistune-workaround { inherit (pkgs) clightning; }; + # TODO-EXTERNAL: + # Remove this when the upstream patch is available in nixpkgs + lndhub-go = pkgsUnstable.lndhub-go.overrideDerivation (_: { + patches = [ + (pkgs.fetchpatch { + # https://github.com/getAlby/lndhub.go/pull/225 + url = "https://github.com/getAlby/lndhub.go/pull/225.patch"; + sha256 = "sha256-yjs+ZHXWhggzd5Zqm+qFKdulFuO/QJQkOmh4i99C9wE="; + }) + ]; + }); + # Internal pkgs netns-exec = pkgs.callPackage ./netns-exec { }; krops = import ./krops { inherit pkgs; }; diff --git a/pkgs/pinned.nix b/pkgs/pinned.nix index 9b15ae092..91629b33d 100644 --- a/pkgs/pinned.nix +++ b/pkgs/pinned.nix @@ -17,8 +17,7 @@ pkgs: pkgsUnstable: fulcrum hwi lightning-loop - lnd - lndhub-go; + lnd; inherit pkgs pkgsUnstable; }