mpd: use --replace-fail in darwin postPatch substitution

This commit is contained in:
Doron Behar
2025-11-17 11:34:34 +02:00
parent e0f5402c5f
commit 3fee4e6609
+2 -2
View File
@@ -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