qemu: use default SDK on Darwin (14.4)
This commit is contained in:
@@ -32,8 +32,6 @@
|
||||
socat,
|
||||
libslirp,
|
||||
libcbor,
|
||||
apple-sdk_13,
|
||||
darwinMinVersionHook,
|
||||
guestAgentSupport ?
|
||||
(with stdenv.hostPlatform; isLinux || isNetBSD || isOpenBSD || isSunOS || isWindows) && !minimal,
|
||||
numaSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAarch32 && !minimal,
|
||||
@@ -128,14 +126,6 @@ assert lib.assertMsg (
|
||||
|
||||
let
|
||||
hexagonSupport = hostCpuTargets == null || lib.elem "hexagon" hostCpuTargets;
|
||||
|
||||
# needed in buildInputs and depsBuildBuild
|
||||
# check log for warnings eg: `warning: 'hv_vm_config_get_max_ipa_size' is only available on macOS 13.0`
|
||||
# to indicate if min version needs to get bumped.
|
||||
darwinSDK = [
|
||||
apple-sdk_13
|
||||
(darwinMinVersionHook "13")
|
||||
];
|
||||
in
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -156,7 +146,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
depsBuildBuild = [
|
||||
buildPackages.stdenv.cc
|
||||
]
|
||||
++ lib.optionals stdenv.buildPlatform.isDarwin darwinSDK
|
||||
++ lib.optionals hexagonSupport [ pkg-config ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -205,7 +194,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
]
|
||||
++ lib.optionals (!userOnly) [ curl ]
|
||||
++ lib.optionals ncursesSupport [ ncurses ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin darwinSDK
|
||||
++ lib.optionals seccompSupport [ libseccomp ]
|
||||
++ lib.optionals numaSupport [ numactl ]
|
||||
++ lib.optionals alsaSupport [ alsa-lib ]
|
||||
|
||||
Reference in New Issue
Block a user