diff --git a/pkgs/by-name/mp/mpd/package.nix b/pkgs/by-name/mp/mpd/package.nix index cb398047f587..ce78c25494c4 100644 --- a/pkgs/by-name/mp/mpd/package.nix +++ b/pkgs/by-name/mp/mpd/package.nix @@ -232,8 +232,8 @@ stdenv.mkDerivation (finalAttrs: { (stdenv.hostPlatform.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinSdkVersion "12.0") '' substituteInPlace src/output/plugins/OSXOutputPlugin.cxx \ - --replace kAudioObjectPropertyElement{Main,Master} \ - --replace kAudioHardwareServiceDeviceProperty_Virtual{Main,Master}Volume + --replace-fail kAudioObjectPropertyElement{Main,Master} \ + --replace-fail kAudioHardwareServiceDeviceProperty_Virtual{Main,Master}Volume '' + lib.optionalString