lnd: fix build on darwin
This commit is contained in:
parent
55fa7fd585
commit
d6950431b7
2 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ buildGoModule, fetchFromGitHub, lib }:
|
{ buildGoModule, fetchFromGitHub, stdenv, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "lnd";
|
pname = "lnd";
|
||||||
|
@ -13,10 +13,12 @@ buildGoModule rec {
|
||||||
|
|
||||||
modSha256 = "1pvcvpiz6ck8xkgpypchrq9kgkik0jxd7f3jhihbgldsh4zaqiaq";
|
modSha256 = "1pvcvpiz6ck8xkgpypchrq9kgkik0jxd7f3jhihbgldsh4zaqiaq";
|
||||||
|
|
||||||
meta = with lib; {
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
description = "Lightning Network Daemon";
|
description = "Lightning Network Daemon";
|
||||||
homepage = "https://github.com/lightningnetwork/lnd";
|
homepage = "https://github.com/lightningnetwork/lnd";
|
||||||
license = lib.licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ cypherpunk2140 ];
|
maintainers = with maintainers; [ cypherpunk2140 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -23099,6 +23099,7 @@ in
|
||||||
|
|
||||||
lnd = callPackage ../applications/blockchains/lnd.nix {
|
lnd = callPackage ../applications/blockchains/lnd.nix {
|
||||||
buildGoModule = buildGo112Module;
|
buildGoModule = buildGo112Module;
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
monero = callPackage ../applications/blockchains/monero {
|
monero = callPackage ../applications/blockchains/monero {
|
||||||
|
|
Loading…
Reference in a new issue