lnd: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:40:00 -05:00
parent 55fa7fd585
commit d6950431b7
2 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ buildGoModule, fetchFromGitHub, lib }:
{ buildGoModule, fetchFromGitHub, stdenv, Security }:
buildGoModule rec {
pname = "lnd";
@ -13,10 +13,12 @@ buildGoModule rec {
modSha256 = "1pvcvpiz6ck8xkgpypchrq9kgkik0jxd7f3jhihbgldsh4zaqiaq";
meta = with lib; {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Lightning Network Daemon";
homepage = "https://github.com/lightningnetwork/lnd";
license = lib.licenses.mit;
license = licenses.mit;
maintainers = with maintainers; [ cypherpunk2140 ];
};
}

View file

@ -23099,6 +23099,7 @@ in
lnd = callPackage ../applications/blockchains/lnd.nix {
buildGoModule = buildGo112Module;
inherit (darwin.apple_sdk.frameworks) Security;
};
monero = callPackage ../applications/blockchains/monero {