lnd: fix cert key format bug

This commit is contained in:
Erik Arvstedt 2023-05-07 20:30:36 +02:00
parent 744d8fe379
commit 9f3daab64f
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
3 changed files with 17 additions and 1 deletions

View File

@ -22,6 +22,11 @@ let self = {
spark-wallet = pkgs.callPackage ./spark-wallet { };
trustedcoin = pkgs.callPackage ./trustedcoin { };
# TODO-EXTERNAL:
# Remove this when https://github.com/lightningnetwork/lnd/pull/7672
# has been resolved
lnd = pkgsUnstable.callPackage ./lnd { };
pyPkgs = import ./python-packages self pkgs.python3;
inherit (self.pyPkgs)
nbPython3Packages

12
pkgs/lnd/default.nix Normal file
View File

@ -0,0 +1,12 @@
{ lnd, fetchpatch }:
lnd.overrideAttrs (_: {
patches = [
(fetchpatch {
# https://github.com/lightningnetwork/lnd/pull/7672
name = "fix-PKCS8-cert-key-support";
url = "https://github.com/lightningnetwork/lnd/pull/7672.patch";
hash = "sha256-j9EirxyNi48DGzLuHcZ36LrFlbJLXrE8L+1TYh5Yznk=";
})
];
})

View File

@ -17,7 +17,6 @@ pkgs: pkgsUnstable:
fulcrum
hwi
lightning-loop
lnd
nbxplorer;
inherit pkgs pkgsUnstable;