Skip to content

Commit 9bf7e05

Browse files
mpd: fix build on darwin (#457144)
2 parents d6fd759 + 507c9d8 commit 9bf7e05

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pkgs/by-name/mp/mpd/package.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,13 @@ stdenv.mkDerivation (finalAttrs: {
234234
substituteInPlace src/output/plugins/OSXOutputPlugin.cxx \
235235
--replace kAudioObjectPropertyElement{Main,Master} \
236236
--replace kAudioHardwareServiceDeviceProperty_Virtual{Main,Master}Volume
237-
'';
237+
''
238+
+
239+
lib.optionalString
240+
(stdenv.hostPlatform.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinSdkVersion "13.3")
241+
''
242+
sed -i "/subdir('time')/d" test/meson.build
243+
'';
238244

239245
# Otherwise, the meson log says:
240246
#

0 commit comments

Comments
 (0)