Merge pull request #206626 from tjni/coinlive

coinlive: fix build on darwin
This commit is contained in:
Nikolay Korotkiy
2022-12-18 05:17:58 +04:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -1,8 +1,10 @@
{ lib { lib
, stdenv
, fetchFromGitHub , fetchFromGitHub
, openssl , openssl
, pkg-config , pkg-config
, rustPlatform , rustPlatform
, Security
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@@ -24,6 +26,8 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ buildInputs = [
openssl openssl
] ++ lib.optionals stdenv.isDarwin [
Security
]; ];
meta = with lib; { meta = with lib; {

View File

@@ -18757,6 +18757,7 @@ with pkgs;
CoinMP = callPackage ../development/libraries/CoinMP { }; CoinMP = callPackage ../development/libraries/CoinMP { };
coinlive = callPackage ../tools/misc/coinlive { coinlive = callPackage ../tools/misc/coinlive {
inherit (darwin.apple_sdk.frameworks) Security;
openssl = openssl_1_1; openssl = openssl_1_1;
}; };