3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #61333 from matthewbauer/fix-portaudio-darwni

portaudio: disable werror for flags hit in clang
This commit is contained in:
Matthew Bauer 2019-05-12 15:18:48 -04:00 committed by GitHub
commit ab1f377480
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
configureFlags = [ "--disable-mac-universal --enable-cxx" ];
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=nullability-inferred-on-nested-type -Wno-error=nullability-completeness-on-arrays";
propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ AudioUnit AudioToolbox CoreAudio CoreServices Carbon ];
patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''