Unverified Commit 9bf7e05d authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

mpd: fix build on darwin (#457144)

parents d6fd7595 507c9d83
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: