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:
parent
a7e63bc998
commit
4df34f803c
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue