gnuradio: use new apple-sdk pattern

This commit is contained in:
Doron Behar 2024-11-18 16:55:19 +02:00
parent 3ce0b97938
commit 9fb5c8cec9
3 changed files with 0 additions and 7 deletions

View File

@ -20,7 +20,6 @@
, libjack2
, libiio
, libad9361
, CoreAudio
, uhd
, SDL
, gsl
@ -172,7 +171,6 @@ let
gr-audio = {
runtime = []
++ lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib libjack2 ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreAudio ]
;
cmakeEnableFlag = "GR_AUDIO";
};

View File

@ -1,6 +1,5 @@
{ lib
, stdenv
, darwin
, mkDerivation
, fetchgit
, gnuradio
@ -71,9 +70,6 @@ in mkDerivation {
] ++ lib.optionals (gnuradio.hasFeature "python-support") [
python.pkgs.numpy
python.pkgs.pybind11
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.IOKit
darwin.apple_sdk.frameworks.Security
];
cmakeFlags = [
(if (gnuradio.hasFeature "python-support") then

View File

@ -13637,7 +13637,6 @@ with pkgs;
gnuradio = callPackage ../applications/radio/gnuradio/wrapper.nix {
unwrapped = callPackage ../applications/radio/gnuradio {
inherit (darwin.apple_sdk.frameworks) CoreAudio;
python = python311;
};
};