···103103 })
104104 ];
105105106106- # Otherwise tries to ensure /var/run exists.
107106 postPatch = ''
107107+ # Otherwise tries to ensure /var/run exists.
108108 sed -i "/install_subdir('run', install_dir: get_option('localstatedir'))/d" \
109109 qga/meson.build
110110+111111+ # TODO: On aarch64-darwin, we automatically codesign everything, but qemu
112112+ # needs specific entitlements and does its own signing. This codesign
113113+ # command fails, but we have no fix at the moment, so this disables it.
114114+ # This means `-accel hvf` is broken for now, on aarch64-darwin only.
115115+ substituteInPlace meson.build \
116116+ --replace 'if exe_sign' 'if false'
110117 '';
111118112119 preConfigure = ''