diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:40:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:40:00 -0500 |
commit | d6950431b7c878af009b8c47eceb2da507a64487 (patch) | |
tree | 10e1aaa91f5be33c5346a00bcef62815b9583c0f /pkgs/applications/blockchains/lnd.nix | |
parent | 55fa7fd5856ab36332b0cc2d46e367a73b447fe8 (diff) |
lnd: fix build on darwin
Diffstat (limited to 'pkgs/applications/blockchains/lnd.nix')
-rw-r--r-- | pkgs/applications/blockchains/lnd.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/blockchains/lnd.nix b/pkgs/applications/blockchains/lnd.nix index dd45746c8df5..4be19beedc39 100644 --- a/pkgs/applications/blockchains/lnd.nix +++ b/pkgs/applications/blockchains/lnd.nix @@ -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 ]; }; } |