Merge pull request #172810 from siriobalmelli-foss/fix/libbtbb

libbtbb: fix Darwin build
This commit is contained in:
Sandro 2022-05-13 17:28:53 +02:00 committed by GitHub
commit 9448e6f347
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, cmake }:
{ stdenv, lib, fetchFromGitHub, cmake, CoreServices }:
stdenv.mkDerivation rec {
pname = "libbtbb";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1byv8174xam7siakr1p0523x97wkh0fmwmq341sd3g70qr2g767d";
};
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ cmake ] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
meta = with lib; {
description = "Bluetooth baseband decoding library";

View file

@ -5882,7 +5882,9 @@ with pkgs;
libbladeRF = callPackage ../development/libraries/libbladeRF { };
libbtbb = callPackage ../development/libraries/libbtbb { };
libbtbb = callPackage ../development/libraries/libbtbb {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
lp_solve = callPackage ../applications/science/math/lp_solve {
inherit (darwin) cctools;