monero: fix darwin build

This commit is contained in:
Daiderd Jordan 2018-04-04 21:33:45 +02:00
parent a7e63bc998
commit 4df34f803c
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
2 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, git { stdenv, fetchFromGitHub, cmake, pkgconfig, git
, boost, miniupnpc, openssl, unbound, cppzmq , boost, miniupnpc, openssl, unbound, cppzmq
, zeromq, pcsclite, readline , zeromq, pcsclite, readline
, IOKit , CoreData, IOKit, PCSC
, CoreData
}: }:
assert stdenv.isDarwin -> IOKit != null; assert stdenv.isDarwin -> IOKit != null;
@ -25,7 +24,7 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
boost miniupnpc openssl unbound boost miniupnpc openssl unbound
cppzmq zeromq pcsclite readline cppzmq zeromq pcsclite readline
] ++ optionals stdenv.isDarwin [ IOKit CoreData ]; ] ++ optionals stdenv.isDarwin [ IOKit CoreData PCSC ];
cmakeFlags = [ cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_BUILD_TYPE=Release"

View File

@ -16701,7 +16701,7 @@ with pkgs;
mod-distortion = callPackage ../applications/audio/mod-distortion { }; mod-distortion = callPackage ../applications/audio/mod-distortion { };
monero = callPackage ../applications/altcoins/monero { monero = callPackage ../applications/altcoins/monero {
inherit (darwin.apple_sdk.frameworks) IOKit CoreData; inherit (darwin.apple_sdk.frameworks) CoreData IOKit PCSC;
boost = boost15x; boost = boost15x;
}; };