New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rt{audio,midi}: refactor #111621
rt{audio,midi}: refactor #111621
Conversation
6f4dfec
to
278765b
Compare
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 4 packages failed to build and are new build failures:
19 packages built:
|
278765b
to
5355249
Compare
Result of 1 package marked as broken and skipped:
3 packages failed to build:
16 packages built:
(build failures all replicable on master) |
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 3 packages marked as broken and skipped:
1 package failed to build and already failed to build on hydra master:
1 package built:
Please apply the darwin patch: diff --git a/pkgs/development/libraries/audio/rtmidi/default.nix b/pkgs/development/libraries/audio/rtmidi/default.nix
index 5ef525f9e11..7f454723a7b 100644
--- a/pkgs/development/libraries/audio/rtmidi/default.nix
+++ b/pkgs/development/libraries/audio/rtmidi/default.nix
@@ -9,7 +9,9 @@
, jackSupport ? true
, jack
, coremidiSupport ? stdenv.hostPlatform.isDarwin
+, CoreAudio
, CoreMIDI
+, CoreServices
}:
stdenv.mkDerivation rec {
@@ -49,7 +51,7 @@ stdenv.mkDerivation rec {
buildInputs = lib.optional alsaSupport alsaLib
++ lib.optional jackSupport jack
- ++ lib.optional coremidiSupport CoreMIDI;
+ ++ lib.optionals coremidiSupport [ CoreAudio CoreMIDI CoreServices ];
cmakeFlags = [
"-DRTMIDI_API_ALSA=${if alsaSupport then "ON" else "OFF"}"
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index e5c8fd41013..1c8b6d3c0c0 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -7300,7 +7300,7 @@ in
rtmidi = callPackage ../development/libraries/audio/rtmidi {
jack = libjack2;
- inherit (darwin.apple_sdk.frameworks) CoreMIDI;
+ inherit (darwin.apple_sdk.frameworks) CoreAudio CoreMIDI CoreServices;
};
openmpi = callPackage ../development/libraries/openmpi { }; |
5355249
to
6c22ff0
Compare
CoreAudio & CoreServices dependencies added. |
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 23 packages built:
|
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 3 packages marked as broken and skipped:
2 packages built:
|
Motivation for this change
xyzSupport
pattern & explicit CMake variables for audio APIsThings done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)