monero: fix darwin build

/cc ZHF #36454
This commit is contained in:
Daiderd Jordan
2018-03-21 22:42:03 +01:00
parent d6a0652d6d
commit 5d4d4df8c0
2 changed files with 6 additions and 2 deletions
@@ -1,5 +1,6 @@
{ stdenv, fetchpatch, fetchFromGitHub, cmake { stdenv, fetchpatch, fetchFromGitHub, cmake
, boost, miniupnpc, openssl, pkgconfig, unbound , boost, miniupnpc, openssl, pkgconfig, unbound
, IOKit
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@@ -15,7 +16,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ boost miniupnpc openssl unbound ]; buildInputs = [ boost miniupnpc openssl unbound ]
++ stdenv.lib.optional stdenv.isDarwin IOKit;
patches = [ patches = [
./build-wallet-rpc.patch # fixed in next release ./build-wallet-rpc.patch # fixed in next release
+3 -1
View File
@@ -16614,7 +16614,9 @@ 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;
};
monero-gui = libsForQt5.callPackage ../applications/altcoins/monero-gui { }; monero-gui = libsForQt5.callPackage ../applications/altcoins/monero-gui { };