unicorn: fix darwin build (#146346)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, cmake
|
||||
, IOKit
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -16,6 +17,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config cmake ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ IOKit ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lightweight multi-platform CPU emulator library";
|
||||
|
||||
@@ -10647,7 +10647,9 @@ with pkgs;
|
||||
withRedis = true;
|
||||
};
|
||||
|
||||
unicorn = callPackage ../development/libraries/unicorn { };
|
||||
unicorn = callPackage ../development/libraries/unicorn {
|
||||
inherit (darwin.apple_sdk.frameworks) IOKit;
|
||||
};
|
||||
|
||||
units = callPackage ../tools/misc/units {
|
||||
enableCurrenciesUpdater = true;
|
||||
|
||||
Reference in New Issue
Block a user