qemu: depend on apple-sdk_15

Without this the following error occurs starting with qemu 11:

```
ERROR:../target/arm/hvf/sysreg.c.inc:149:hvf_arch_init_vcpu: assertion failed: (HV_SYS_REG_SMCR_EL1 == KVMID_TO_HVF(KVMID_AA64_SYS_REG64(3, 0, 1, 2, 6)))
```
This commit is contained in:
Ivan Babrou
2026-06-28 21:19:59 -07:00
parent 4493739a20
commit e6c5b0a48b
+3 -1
View File
@@ -32,6 +32,7 @@
libslirp,
libcbor,
darwin,
apple-sdk_15,
guestAgentSupport ?
(with stdenv.hostPlatform; isLinux || isNetBSD || isOpenBSD || isSunOS || isWindows) && !minimal,
numaSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAarch32 && !minimal,
@@ -251,7 +252,8 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optionals canokeySupport [ canokey-qemu ]
++ lib.optionals u2fEmuSupport [ libu2f-emu ]
++ lib.optionals capstoneSupport [ capstone ]
++ lib.optionals valgrindSupport [ valgrind-light ];
++ lib.optionals valgrindSupport [ valgrind-light ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_15 ];
dontUseMesonConfigure = true; # meson's configurePhase isn't compatible with qemu build
dontAddStaticConfigureFlags = true;