1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

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
, boost, miniupnpc, openssl, unbound, cppzmq
, zeromq, pcsclite, readline
, IOKit
, CoreData
, CoreData, IOKit, PCSC
}:
assert stdenv.isDarwin -> IOKit != null;
@ -25,7 +24,7 @@ stdenv.mkDerivation rec {
buildInputs = [
boost miniupnpc openssl unbound
cppzmq zeromq pcsclite readline
] ++ optionals stdenv.isDarwin [ IOKit CoreData ];
] ++ optionals stdenv.isDarwin [ IOKit CoreData PCSC ];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"

View file

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