diff --git a/pkgs/development/libraries/libspatialaudio/default.nix b/pkgs/development/libraries/libspatialaudio/default.nix index c8d29a87a03d..a97a46f357a6 100644 --- a/pkgs/development/libraries/libspatialaudio/default.nix +++ b/pkgs/development/libraries/libspatialaudio/default.nix @@ -14,6 +14,11 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; buildInputs = [ libmysofa zlib ]; + postFixup = '' + substituteInPlace "''${!outputDev}/lib/pkgconfig/spatialaudio.pc" \ + --replace '-L${lib.getDev libmysofa}' '-L${lib.getLib libmysofa}' + ''; + meta = with lib; { description = "Ambisonic encoding / decoding and binauralization library in C++";