Unverified Commit 507c9d83 authored by kero0's avatar kero0
Browse files

mpd: fix build on darwin

parent a7fc11be
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -234,6 +234,12 @@ stdenv.mkDerivation (finalAttrs: {
        substituteInPlace src/output/plugins/OSXOutputPlugin.cxx \
          --replace kAudioObjectPropertyElement{Main,Master} \
          --replace kAudioHardwareServiceDeviceProperty_Virtual{Main,Master}Volume
      ''
    +
      lib.optionalString
        (stdenv.hostPlatform.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinSdkVersion "13.3")
        ''
          sed -i "/subdir('time')/d" test/meson.build
        '';

  # Otherwise, the meson log says: