portaudio: disable werror for flags hit in clang

This commit is contained in:
Matthew Bauer 2019-05-11 23:00:56 -04:00
parent 7c7ccd51f4
commit 0f473cc854

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 ''