libsamplerate: Fix build on Darwin

This commit is contained in:
OPNA2608 2024-04-03 09:35:50 +02:00
parent e7c0a07fa6
commit c1f34f5558

View file

@ -24,8 +24,6 @@ in stdenv.mkDerivation rec {
# need headers from the Carbon.framework in /System/Library/Frameworks to
# compile this on darwin -- not sure how to handle
NIX_CFLAGS_COMPILE+=" -I${Carbon}/Library/Frameworks/Carbon.framework/Headers"
substituteInPlace examples/Makefile --replace "-fpascal-strings" ""
'';
meta = with lib; {