summary refs log tree commit diff
path: root/pkgs/development/libraries/portaudio
diff options
context:
space:
mode:
authorMatthew Leach <dev@mattleach.net>2021-07-15 18:47:38 +0100
committerMatthew Leach <dev@mattleach.net>2021-07-15 18:52:43 +0100
commitabae2e9fb0aae5870bb0d4fa3b2ea871d41aa5be (patch)
tree0da58b7d121b2b9d37a6d3f5644cb42313ae3273 /pkgs/development/libraries/portaudio
parentb466d6c702867f6a3844db58dd4da6298a1df25c (diff)
downloadnixpkgs-abae2e9fb0aae5870bb0d4fa3b2ea871d41aa5be.tar
nixpkgs-abae2e9fb0aae5870bb0d4fa3b2ea871d41aa5be.tar.gz
nixpkgs-abae2e9fb0aae5870bb0d4fa3b2ea871d41aa5be.tar.bz2
nixpkgs-abae2e9fb0aae5870bb0d4fa3b2ea871d41aa5be.tar.lz
nixpkgs-abae2e9fb0aae5870bb0d4fa3b2ea871d41aa5be.tar.xz
nixpkgs-abae2e9fb0aae5870bb0d4fa3b2ea871d41aa5be.tar.zst
nixpkgs-abae2e9fb0aae5870bb0d4fa3b2ea871d41aa5be.zip
portaudio: fix build for arm64-darwin
Hydra failed to build portaudio against the MacOS SDK 11.0, see [1]. The
errors stem from the fact that certain functions in the SDK have been
marked as depricated. When building locally on my machine (which uses a
newer SDK version) there are no such errors. Therefore, until we get
 #101229 fixed we can ignore these deprication errors.

[1]: https://hydra.nixos.org/build/147771864/nixlog/1
Diffstat (limited to 'pkgs/development/libraries/portaudio')
-rw-r--r--pkgs/development/libraries/portaudio/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/portaudio/default.nix b/pkgs/development/libraries/portaudio/default.nix
index 7f5818ae1bb..840c9e773f4 100644
--- a/pkgs/development/libraries/portaudio/default.nix
+++ b/pkgs/development/libraries/portaudio/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
 
   configureFlags = [ "--disable-mac-universal" "--enable-cxx" ];
 
-  NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-const-int-float-conversion -Wno-error=nullability-completeness-on-arrays";
+  NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=deprecated-declarations -Wno-error=implicit-const-int-float-conversion -Wno-error=nullability-completeness-on-arrays";
 
   propagatedBuildInputs = lib.optionals stdenv.isDarwin [ AudioUnit AudioToolbox CoreAudio CoreServices Carbon ];