portaudio: remove Werror (#136060)

This commit is contained in:
Matthew Leach
2021-08-30 09:12:52 +01:00
committed by GitHub
parent b7e62ea8b1
commit a850ed0be8
@@ -23,7 +23,9 @@ stdenv.mkDerivation rec {
configureFlags = [ "--disable-mac-universal" "--enable-cxx" ];
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=deprecated-declarations -Wno-error=nullability-completeness-on-arrays";
postConfigure = ''
substituteInPlace Makefile --replace "-Werror" ""
'';
propagatedBuildInputs = lib.optionals stdenv.isDarwin [ AudioUnit AudioToolbox CoreAudio CoreServices Carbon ];